diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 08678766c..310d14ee6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -86,15 +86,15 @@ jobs: - name: Set SSH Environment env: - DOCS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} + DOCS_DEPLOY_KEY: ${{ secrets.DEPLOY_TOKEN }} run: | mkdir -p ~/.ssh/ - echo "$ACTIONS_DEPLOY_KEY" > ~/.ssh/id_rsa + echo "$DEPLOY_TOKEN" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh-keyscan github.com > ~/.ssh/known_hosts chmod 700 ~/.ssh && chmod 600 ~/.ssh/* - git config --local user.email "vbenadmin@163.com" - git config --local user.name "vbenAdmin" + git config --global user.email "vbenadmin@163.com" + git config --global user.name "vbenAdmin" - name: Build run: |