Skip to content

Commit 92087ea

Browse files
committed
chore: fix pipeline
1 parent 9d1d9b1 commit 92087ea

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/hugo.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@ jobs:
3232
steps:
3333
- name: Install Hugo CLI
3434
run: |
35-
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${{ vars.HUGO_VERSION }}/hugo_extended_${{ vars.HUGO_VERSION }}_linux-amd64.deb \
36-
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
35+
sudo snap install hugo
3736
- name: Checkout
38-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3938
with:
4039
submodules: recursive
4140
- name: Setup Pages
4241
id: pages
43-
uses: actions/configure-pages@v2
42+
uses: actions/configure-pages@v5
4443
- name: Build with Hugo
4544
env:
4645
# For maximum backward compatibility with Hugo modules
@@ -51,7 +50,7 @@ jobs:
5150
--minify \
5251
--baseURL "${{ steps.pages.outputs.base_url }}/"
5352
- name: Upload artifact
54-
uses: actions/upload-pages-artifact@v1
53+
uses: actions/upload-pages-artifact@v3
5554
with:
5655
path: ./public
5756

@@ -65,4 +64,4 @@ jobs:
6564
steps:
6665
- name: Deploy to GitHub Pages
6766
id: deployment
68-
uses: actions/deploy-pages@v1
67+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)