Skip to content

Commit ecefeb1

Browse files
committed
build: upgrade GitHub Actions Hugo deployment workflow
1 parent e5082c5 commit ecefeb1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/gh-pages.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ jobs:
1616
fetch-depth: 0
1717

1818
- name: Setup Hugo
19-
uses: peaceiris/actions-hugo@v2
19+
uses: peaceiris/actions-hugo@v3
2020
with:
21-
hugo-version: '0.111.3'
22-
# extended: true
21+
hugo-version: 'latest'
2322

2423
- name: Build
2524
run: hugo --minify
2625

2726
- name: Deploy
28-
uses: peaceiris/actions-gh-pages@v3
27+
uses: peaceiris/actions-gh-pages@v4
2928
if: github.ref == 'refs/heads/master'
3029
with:
3130
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)