Skip to content

Commit a32f30b

Browse files
jamesnulliuErrant404
authored andcommitted
[update] Update Action Versions
1 parent d0897c1 commit a32f30b

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/pages.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,30 @@ jobs:
3636
run: |
3737
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
3838
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
39+
3940
- name: Checkout
40-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4142
with:
4243
submodules: recursive
44+
4345
- name: Setup Pages
4446
id: pages
45-
uses: actions/configure-pages@v2
47+
uses: actions/configure-pages@v5
48+
4649
- name: Build with Hugo
4750
env:
48-
# For maximum backward compatibility with Hugo modules
4951
HUGO_ENVIRONMENT: production
5052
HUGO_ENV: production
5153
run: |
5254
hugo \
5355
--minify \
5456
--baseURL "${{ steps.pages.outputs.base_url }}/"
57+
5558
- name: Upload artifact
56-
uses: actions/upload-pages-artifact@v1
59+
uses: actions/upload-pages-artifact@v4
5760
with:
5861
path: ./public
62+
5963
- name: Upload "index.json" to Algolia
6064
uses: iChochy/Algolia-Upload-Records@main
6165
env:
@@ -74,4 +78,4 @@ jobs:
7478
steps:
7579
- name: Deploy to GitHub Pages
7680
id: deployment
77-
uses: actions/deploy-pages@v1
81+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)