File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Bash tutorial CI
2+ on :
3+ push :
4+ branches :
5+ - master
6+
7+ jobs :
8+ page-generator :
9+ name : Generating pages
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v2
14+ with :
15+ persist-credentials : false
16+ - name : Setup Node.js
17+ uses : actions/setup-node@main
18+ with :
19+ node-version : ' 14'
20+ - name : Install dependencies
21+ run : npm install
22+ - name : Build pages
23+ run : npm run build
24+ - name : Deploy to website
25+ 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 : master
32+ BRANCH : master # The branch the action should deploy to.
33+ FOLDER : dist # The folder the action should deploy.
34+ TARGET_FOLDER : dist/ssh
35+ CLEAN : true # Automatically remove deleted files from the deploy branch
36+ COMMIT_MESSAGE : update
37+
File renamed without changes.
You can’t perform that action at this time.
0 commit comments