File tree Expand file tree Collapse file tree 2 files changed +37
-27
lines changed Expand file tree Collapse file tree 2 files changed +37
-27
lines changed Original file line number Diff line number Diff line change 1+ name : mdbook
2+ on :
3+ push :
4+ branches :
5+ - main
6+ - master
7+ - " releases/*"
8+ pull_request :
9+ branches :
10+ - main
11+ - master
12+ types :
13+ - closed
14+ jobs :
15+ deploy :
16+ runs-on : ubuntu-18.04
17+ steps :
18+ - name : Git checkout
19+ uses : actions/checkout@v2
20+
21+ - name : Setup mdBook
22+ uses : peaceiris/actions-mdbook@v1
23+ with :
24+ mdbook-version : ' 0.4.10'
25+ # mdbook-version: 'latest'
26+
27+ - run : mdbook build
28+
29+ - name : Deploy
30+ uses : peaceiris/actions-gh-pages@v3
31+ with :
32+ personal_token : ${{ secrets.MY_DEPLOY_KEY }}
33+ external_repository : KusionStack/kusionstack.github.io
34+ publish_dir : ./book
35+ publish_branch : gh-pages
36+ user_name : ' github-actions[bot]'
37+ user_email : ' github-actions[bot]@users.noreply.github.com'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments