Skip to content

Commit fcc8a5d

Browse files
committed
Update GitHub Actions workflow versions
1 parent ec0f708 commit fcc8a5d

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches: ["main"]
66
paths:
7+
- '.github/workflows/**'
78
- 'content/**'
89
- 'layouts/**'
910
- 'static/**'
@@ -30,22 +31,22 @@ jobs:
3031
runs-on: ubuntu-latest
3132
steps:
3233
- name: Checkout
33-
uses: actions/checkout@v4
34+
uses: actions/checkout@v6.0.2
3435
with:
3536
submodules: recursive
3637
fetch-depth: 0
3738

3839
- name: Setup Hugo
39-
uses: peaceiris/actions-hugo@v2
40+
uses: peaceiris/actions-hugo@v3.0.0
4041
with:
41-
hugo-version: 'latest'
42+
hugo-version: '0.158.0'
4243
extended: true
4344

4445
- name: Build with Hugo
4546
run: hugo -D
4647

4748
- name: Upload Pages artifact
48-
uses: actions/upload-pages-artifact@v3
49+
uses: actions/upload-pages-artifact@v4.0.0
4950
with:
5051
path: ./public
5152

@@ -58,4 +59,4 @@ jobs:
5859
steps:
5960
- name: Deploy to GitHub Pages
6061
id: deployment
61-
uses: actions/deploy-pages@v4
62+
uses: actions/deploy-pages@v4.0.5

0 commit comments

Comments
 (0)