Skip to content

Commit e6d622b

Browse files
committed
update actions
1 parent 7142a2b commit e6d622b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ concurrency:
2121
jobs:
2222
# Build job
2323
build:
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2727
with:
2828
submodules: true # Fetch Hugo themes (true OR recursive)
2929
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
3030

3131
- name: Setup Hugo
32-
uses: peaceiris/actions-hugo@v2
32+
uses: peaceiris/actions-hugo@v3
3333
with:
3434
hugo-version: '0.141.0'
3535
# extended: true
@@ -38,7 +38,7 @@ jobs:
3838
run: hugo --minify
3939

4040
- name: Upload artifact
41-
uses: actions/upload-pages-artifact@v2
41+
uses: actions/upload-pages-artifact@v3
4242
with:
4343
path: ./public
4444

@@ -52,4 +52,4 @@ jobs:
5252
steps:
5353
- name: Deploy to GitHub Pages
5454
id: deployment
55-
uses: actions/deploy-pages@v2
55+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)