Skip to content

Commit

Permalink
Install Hugo with Snap
Browse files Browse the repository at this point in the history
  • Loading branch information
willfaught committed Jun 5, 2024
1 parent eeda8a9 commit 978f4cc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ defaults:
shell: bash
jobs:
build-linux:
env:
HUGO_VERSION: 0.126.3
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Hugo
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
run: sudo snap install hugo
- name: Setup Sass
run: sudo snap install dart-sass-embedded
- id: pages
Expand Down

0 comments on commit 978f4cc

Please sign in to comment.