@@ -10,28 +10,27 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v4
1414 with :
1515 persist-credentials : false
1616 - name : Setup Node.js
17- uses : actions/setup-node@main
17+ uses : actions/setup-node@v4
1818 with :
19- node-version : ' 14 '
19+ node-version : ' latest '
2020 - name : Install dependencies
2121 run : npm install
2222 - name : Build pages
2323 run : npm run build
2424 - name : Deploy to website
25- uses : JamesIves/github-pages-deploy-action@3.7.1
25+ uses : JamesIves/github-pages-deploy-action@v4
2626 with :
27- GIT_CONFIG_NAME : wangdoc-bot
28- GIT_CONFIG_EMAIL : yifeng.ruan@gmail.com
29- REPOSITORY_NAME : wangdoc/website
30- ACCESS_TOKEN : ${{ secrets.WANGDOC_BOT_TOKEN }}
31- BASE_BRANCH : master
32- BRANCH : master # The branch the action should deploy to.
33- FOLDER : dist # The folder the action should deploy.
34- TARGET_FOLDER : dist/bash
35- CLEAN : true # Automatically remove deleted files from the deploy branch
36- COMMIT_MESSAGE : update from Bash tutorial
27+ git_config_name : wangdoc-bot
28+ git_config_email : yifeng.ruan@gmail.com
29+ repository-name : wangdoc/website
30+ token : ${{ secrets.WANGDOC_BOT_TOKEN }}
31+ branch : master # The branch the action should deploy to.
32+ folder : dist # The folder the action should deploy.
33+ target-folder : dist/bash
34+ clean : true # Automatically remove deleted files from the deploy branch
35+ commit-message : update from Bash tutorial
3736
0 commit comments