Skip to content

Commit ab8f2cf

Browse files
committed
pdf chinese
1 parent fc87610 commit ab8f2cf

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

.github/workflows/gitbook-branch.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,17 @@ on:
66
- '[0-9]+.[0-9]+.[0-9]+.doc' #eg: 2.20.04.doc
77
jobs:
88
build:
9+
name: publish gitbook
910
runs-on: ubuntu-latest
1011
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 }}/
22-
gitbook_pdf: true
23-
gitbook_pdf_dir: /
24-
gitbook_pdf_name: dble-manual
12+
- uses: actions/checkout@v4
13+
- uses: yanhuqing666/gitbook-action@1.2.5
14+
with: # Just example, click above, use latest please
15+
token: ${{ secrets.PUBLISH_TOKEN }}
16+
time_zone: Asia/Shanghai # set time zone
17+
source_branch: ${{ github.ref_name }}
18+
publish_push_force: true
19+
publish_dir: /history/${{ github.ref_name }}/
20+
gitbook_pdf: true
21+
gitbook_pdf_dir: /
22+
gitbook_pdf_name: dble-manual

0 commit comments

Comments
 (0)