From 628757d6e5dd5b0fe120f971cbf7c5fea4e1612d Mon Sep 17 00:00:00 2001 From: DIYgod Date: Mon, 18 Mar 2024 20:50:36 +0800 Subject: [PATCH] chore: build docs --- .github/workflows/build-assets.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-assets.yml b/.github/workflows/build-assets.yml index 5788aef6b..1aaea2a80 100644 --- a/.github/workflows/build-assets.yml +++ b/.github/workflows/build-assets.yml @@ -50,7 +50,7 @@ jobs: - name: Pushes to docs repository - en uses: cpina/github-action-push-to-another-repository@main env: - SSH_DEPLOY_KEY: ${{ secrets.DOCS_SSH_DEPLOY_KEY }} + API_TOKEN_GITHUB: ${{ secrets.DOCS_API_TOKEN }} with: source-directory: './assets/build/docs/en' target-directory: './src/routes' @@ -60,7 +60,7 @@ jobs: - name: Pushes to docs repository - zh uses: cpina/github-action-push-to-another-repository@main env: - SSH_DEPLOY_KEY: ${{ secrets.DOCS_SSH_DEPLOY_KEY }} + API_TOKEN_GITHUB: ${{ secrets.DOCS_API_TOKEN }} with: source-directory: './assets/build/docs/zh' target-directory: './src/zh/routes'