vben 2 anni fa
parent
commit
93d4655285
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      .github/workflows/deploy.yml

+ 4 - 4
.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: |