File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,17 @@ jobs:
1414 contents : write
1515 runs-on : ubuntu-22.04
1616 steps :
17- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v4
1818 with :
1919 submodules : true # Fetch Hugo themes (true OR recursive)
2020 fetch-depth : 0 # Fetch all history for .GitInfo and .Lastmod
2121
22+ - uses : actions/setup-node@v4
23+ with :
24+ node-version : 20
25+
2226 - name : Setup Hugo
23- uses : peaceiris/actions-hugo@v2
27+ uses : peaceiris/actions-hugo@v3
2428 with :
2529 hugo-version : 0.121.2
2630 extended : true
3236 run : hugo --minify
3337
3438 - name : Deploy
35- uses : peaceiris/actions-gh-pages@v3
39+ uses : peaceiris/actions-gh-pages@v4
3640 if : github.ref == 'refs/heads/main'
3741 with :
3842 github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments