Install Hugo with Snap
This commit is contained in:
6
.github/workflows/pages.yaml
vendored
6
.github/workflows/pages.yaml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user