@@ -10,27 +10,26 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout
13
- uses : actions/checkout@v2
13
+ uses : actions/checkout@v4
14
14
with :
15
15
persist-credentials : false
16
16
- name : Setup Node.js
17
- uses : actions/setup-node@main
17
+ uses : actions/setup-node@v4
18
18
with :
19
- node-version : ' 14 '
19
+ node-version : ' latest '
20
20
- name : Install dependencies
21
21
run : npm install
22
22
- name : Build pages
23
23
run : npm run build
24
24
- name : Deploy to website
25
- uses : JamesIves/github-pages-deploy-action@3.7.1
25
+ uses : JamesIves/github-pages-deploy-action@v4
26
26
with :
27
- GIT_CONFIG_NAME : wangdoc-bot
28
- GIT_CONFIG_EMAIL :
[email protected]
29
- REPOSITORY_NAME : wangdoc/website
30
- ACCESS_TOKEN : ${{ secrets.WANGDOC_BOT_TOKEN }}
31
- BASE_BRANCH : main
32
- BRANCH : master # The branch the action should deploy to.
33
- FOLDER : dist # The folder the action should deploy.
34
- TARGET_FOLDER : dist/clang
35
- CLEAN : true # Automatically remove deleted files from the deploy branch
36
- COMMIT_MESSAGE : update from Clang tutorial
27
+ git-config-name : wangdoc-bot
28
+ git-config-email :
[email protected]
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/clang
34
+ clean : true # Automatically remove deleted files from the deploy branch
35
+ commit-message : update from Clang tutorial
0 commit comments