-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
52f7643
commit 03a4683
Showing
2 changed files
with
21 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: 'Gitbook-Branch' | ||
|
||
on: | ||
push: | ||
branches: | ||
- '[0-9]+.[0-9]+.[0-9]+.doc' #eg: 2.20.04.doc | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout action | ||
uses: actions/checkout@v4 | ||
|
||
- name: Gitbook Action | ||
uses: zanderzhao/[email protected] # https://github.com/ZanderZhao/gitbook-action/releases | ||
with: # Just example, click above, use latest please | ||
token: ${{ secrets.PUBLISH_TOKEN }} | ||
time_zone: Asia/Shanghai # set time zone | ||
source_branch: ${{ github.ref_name }} | ||
publish_push_force: true | ||
publish_dir: /history/${{ github.ref_name }}/ |
This file was deleted.
Oops, something went wrong.