File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 11name : github pages
2-
32on :
43 push :
54 branches :
87 branches :
98 - main
109 workflow_dispatch :
11-
1210jobs :
1311 deploy :
1412 runs-on : ubuntu-22.04
1513 steps :
16- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v3
1715 with :
1816 submodules : true # Fetch Hugo themes (true OR recursive)
1917 fetch-depth : 0 # Fetch all history for .GitInfo and .Lastmod
2018
21- - uses : actions/setup-node@v4
22- with :
23- node-version : 20
24-
2519 - name : Setup Hugo
26- uses : peaceiris/actions-hugo@v3
20+ uses : peaceiris/actions-hugo@v2
2721 with :
2822 hugo-version : ' latest'
2923 extended : true
30-
3124 - name : Install Dependencies
3225 run : npm install autoprefixer postcss postcss-cli
33-
3426 - name : Build
3527 run : hugo --minify
3628
3729 - name : Deploy
38- uses : peaceiris/actions-gh-pages@v4
30+ uses : peaceiris/actions-gh-pages@v3
3931 if : github.ref == 'refs/heads/main'
4032 with :
4133 github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments