Skip to content

Commit 567826e

Browse files
committed
2.19.03 actions
1 parent 0668ba2 commit 567826e

File tree

2 files changed

+22
-65
lines changed

2 files changed

+22
-65
lines changed

.github/workflows/gitbook-branch.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)