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 0668ba2 commit 567826eCopy full SHA for 567826e
.github/workflows/gitbook-branch.yml
@@ -0,0 +1,22 @@
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
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout action
13
+ uses: actions/checkout@v4
14
15
+ - name: Gitbook Action
16
+ uses: zanderzhao/gitbook-action@v1.2.4 # https://github.com/ZanderZhao/gitbook-action/releases
17
+ with: # Just example, click above, use latest please
18
+ token: ${{ secrets.PUBLISH_TOKEN }}
19
+ time_zone: Asia/Shanghai # set time zone
20
+ source_branch: ${{ github.ref_name }}
21
+ publish_push_force: true
22
+ publish_dir: /history/${{ github.ref_name }}/
.travis.yml
0 commit comments