Skip to content

Commit e0e4be7

Browse files
authored
Update hugo.yml
1 parent df6f08c commit e0e4be7

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/hugo.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,16 @@ jobs:
3030
# Build job
3131
build:
3232
runs-on: ubuntu-latest
33-
env:
34-
HUGO_VERSION: 0.120.4
3533
steps:
36-
- name: Install Hugo CLI
37-
run: |
38-
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
39-
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
40-
- name: Install Dart Sass
41-
run: sudo snap install dart-sass
4234
- name: Checkout
4335
uses: actions/checkout@v4
4436
with:
4537
submodules: recursive
38+
- name: Setup Hugo
39+
uses: peaceiris/actions-hugo@v2
40+
with:
41+
hugo-version: 'latest'
42+
extended: true
4643
- name: Setup Pages
4744
id: pages
4845
uses: actions/configure-pages@v4
@@ -72,4 +69,4 @@ jobs:
7269
steps:
7370
- name: Deploy to GitHub Pages
7471
id: deployment
75-
uses: actions/deploy-pages@v4
72+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)