File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,22 +12,23 @@ jobs:
1212 steps :
1313 - uses : actions/checkout@main
1414 with :
15- submodules : recursive # Fetch Hugo themes
16- fetch-depth : 0 # Fetch all history for .GitInfo and .Lastmod
15+ submodules : recursive # Fetch Hugo themes
16+ fetch-depth : 0 # Fetch all history for .GitInfo and .Lastmod
1717
1818 - name : Setup Hugo
1919 uses : peaceiris/actions-hugo@v2
2020 with :
21- hugo-version : ' latest'
21+ hugo-version : " latest"
2222 extended : true
2323 - name : Setup Go
2424 uses : actions/setup-go@v2
2525 with :
26- go-version : ' 1.19.1'
26+ go-version : " 1.19.1"
2727 - name : Setup Node
2828 uses : actions/setup-node@v3
2929 with :
30- node-version : ' 20'
30+ node-version : " 22"
31+
3132
3233 - name : Cache dependencies
3334 uses : actions/cache@v3
@@ -40,10 +41,10 @@ jobs:
4041
4142 - name : Build
4243 run : |
43- npm install -D --save autoprefixer
44- npm install -D --save postcss-cli
45- npm install -D --save postcss
46- hugo --baseURL="${{ vars.BASEURL }}"
44+ npm install -D --save autoprefixer
45+ npm install -D --save postcss-cli
46+ npm install -D --save postcss
47+ hugo --baseURL="${{ vars.BASEURL }}"
4748 - name : Deploy
4849 uses : peaceiris/actions-gh-pages@v3
4950 with :
You can’t perform that action at this time.
0 commit comments