From 4cb09e92ec163939dc1dd4fdea77190d6a083ebb Mon Sep 17 00:00:00 2001 From: ihavecoke Date: Thu, 2 Nov 2023 16:07:09 +0800 Subject: [PATCH] . --- .github/workflows/download_feishu_pages.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/download_feishu_pages.yml b/.github/workflows/download_feishu_pages.yml index 51d4caac..7c34ab49 100644 --- a/.github/workflows/download_feishu_pages.yml +++ b/.github/workflows/download_feishu_pages.yml @@ -10,21 +10,19 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Show files - run: | - pwd - ls -al . - tree . + with: + fetch-depth: 1 - name: Start export feishu pages env: FEISHU_APP_ID: ${{ secrets.FEISHU_APP_ID }} FEISHU_APP_SECRET: ${{ secrets.FEISHU_APP_SECRET }} - FEISHU_SPACE_ID: '7288219896826494980' - OUTPUT_DIR: /home/runner/work/whale-docs/whale-docs/feishu-pages + FEISHU_SPACE_ID: "7288219896826494980" + OUTPUT_DIR: ${{github.workspace}}/feishu-pages uses: longbridgeapp/feishu-pages@main - uses: oven-sh/setup-bun@v1 - name: Copy feishu pages to repo run: | + cp -Rf ${{github.workspace}}/feishu-pages ./ bun install ./scripts/cp_feishu_to_vitepress.sh bun autocorrect --fix locales/ @@ -40,9 +38,7 @@ jobs: commit-message: New feishu pages version request review base: dev delete-branch: true - title: '[Docs] New feishu pages version request review' + title: "[Docs] New feishu pages version request review" body: | New feishu pages version request review assignees: ihavecoke - -