Skip to content

Commit

Permalink
simplify actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oskar2517 committed Nov 20, 2024
1 parent e3d6e5f commit b222db8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ jobs:
HUGO_VERSION: 0.138.0
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
run: snap install hugo
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -48,8 +44,6 @@ jobs:
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
Expand Down

0 comments on commit b222db8

Please sign in to comment.