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
|
shell: bash
|
||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
build-linux:
|
||||||
env:
|
|
||||||
HUGO_VERSION: 0.126.3
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
run: |
|
run: sudo snap install hugo
|
||||||
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: Setup Sass
|
- name: Setup Sass
|
||||||
run: sudo snap install dart-sass-embedded
|
run: sudo snap install dart-sass-embedded
|
||||||
- id: pages
|
- id: pages
|
||||||
|
Reference in New Issue
Block a user