Skip to content

Commit

Permalink
pdf chinese
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhuqing666 committed Sep 23, 2024
1 parent 8b44040 commit 9cec2b1
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/gitbook-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,17 @@ on:
- '[0-9]+.[0-9]+.[0-9]+.doc' #eg: 2.20.04.doc
jobs:
build:
name: publish gitbook
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 }}/
gitbook_pdf: true
gitbook_pdf_dir: /
gitbook_pdf_name: dble-manual
- uses: actions/checkout@v4
- uses: yanhuqing666/[email protected]
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 }}/
gitbook_pdf: true
gitbook_pdf_dir: /
gitbook_pdf_name: dble-manual

0 comments on commit 9cec2b1

Please sign in to comment.