We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf9c423 commit fec8528Copy full SHA for fec8528
.github/workflows/gitbook-branch.yml
@@ -0,0 +1,21 @@
1
+name: 'Gitbook-Branch'
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - '[0-9]+.[0-9]+.[0-9]+.doc' #eg: 2.20.04.doc
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout action
12
+ uses: actions/checkout@v4
13
14
+ - name: Gitbook Action
15
+ uses: zanderzhao/gitbook-action@v1.2.4 # https://github.com/ZanderZhao/gitbook-action/releases
16
+ with: # Just example, click above, use latest please
17
+ token: ${{ secrets.PUBLISH_TOKEN }}
18
+ time_zone: Asia/Shanghai # set time zone
19
+ source_branch: ${{ github.ref_name }}
20
+ publish_push_force: true
21
+ publish_dir: /history/${{ github.ref_name }}/
.travis.yml
0 commit comments