From 2c23644d4e4a3955c7d705f9c9eab9c585ee27fa Mon Sep 17 00:00:00 2001 From: yanhuqing666 Date: Mon, 23 Sep 2024 13:59:10 +0800 Subject: [PATCH] pdf chinese --- .github/workflows/gitbook-branch.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/gitbook-branch.yml b/.github/workflows/gitbook-branch.yml index f267c752a..49c707120 100644 --- a/.github/workflows/gitbook-branch.yml +++ b/.github/workflows/gitbook-branch.yml @@ -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/gitbook-action@v1.2.4 # 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/gitbook-action@1.2.5 + 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