From 908a2fbb3a27d2796a79ccd5576ca4c3a2d372ea Mon Sep 17 00:00:00 2001 From: JinMao Date: Tue, 15 Nov 2022 19:43:20 +0800 Subject: [PATCH] chore: update ci --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 310d14ee6..ae35c0614 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -86,10 +86,10 @@ jobs: - name: Set SSH Environment env: - DOCS_DEPLOY_KEY: ${{ secrets.DEPLOY_TOKEN }} + DOCS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} run: | mkdir -p ~/.ssh/ - echo "$DEPLOY_TOKEN" > ~/.ssh/id_rsa + echo "$ACTIONS_DEPLOY_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh-keyscan github.com > ~/.ssh/known_hosts chmod 700 ~/.ssh && chmod 600 ~/.ssh/* @@ -106,7 +106,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v2.5.0 env: - ACTIONS_DEPLOY_KEY: ${{secrets.DEPLOY_TOKEN}} + ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}} PUBLISH_BRANCH: gh-pages PUBLISH_DIR: ./dist with: