소스 검색

chore: update ci

vben 2 년 전
부모
커밋
93d4655285
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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: |