File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 deploy :
11- runs-on : ubuntu-20 .04
11+ runs-on : ubuntu-22 .04
1212 concurrency :
1313 group : ${{ github.workflow }}-${{ github.ref }}
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v4
1616 with :
1717 submodules : recursive # Fetch the Docsy theme
1818 fetch-depth : 0 # Fetch all history for .GitInfo and .Lastmod
@@ -24,12 +24,12 @@ jobs:
2424 extended : true
2525
2626 - name : Setup Node
27- uses : actions/setup-node@v2
27+ uses : actions/setup-node@v3
2828 with :
2929 node-version : ' 14'
3030
3131 - name : Cache dependencies
32- uses : actions/cache@v2
32+ uses : actions/cache@v4
3333 with :
3434 path : ~/.npm
3535 key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
4444 if : ${{ github.ref == 'refs/heads/master' }}
4545 with :
4646 github_token : ${{ secrets.GITHUB_TOKEN }}
47-
47+ publish_branch : gh-pages
4848 # - run: sed -i 's/https:\/\/xiaoping378.github.io/https:\/\/xiaoping378.gitee.io/' config.toml
4949 # - run: env HUGO_ENV="production" hugo --minify
5050 # - name: Deploy - gitee pages
You can’t perform that action at this time.
0 commit comments