Commit 93d4655285a3874c49471c23e4a7223f3c2ba846

Authored by vben
1 parent 448d2128

chore: update ci

Showing 1 changed file with 4 additions and 4 deletions
.github/workflows/deploy.yml
... ... @@ -86,15 +86,15 @@ jobs:
86 86  
87 87 - name: Set SSH Environment
88 88 env:
89   - DOCS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
  89 + DOCS_DEPLOY_KEY: ${{ secrets.DEPLOY_TOKEN }}
90 90 run: |
91 91 mkdir -p ~/.ssh/
92   - echo "$ACTIONS_DEPLOY_KEY" > ~/.ssh/id_rsa
  92 + echo "$DEPLOY_TOKEN" > ~/.ssh/id_rsa
93 93 chmod 600 ~/.ssh/id_rsa
94 94 ssh-keyscan github.com > ~/.ssh/known_hosts
95 95 chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
96   - git config --local user.email "vbenadmin@163.com"
97   - git config --local user.name "vbenAdmin"
  96 + git config --global user.email "vbenadmin@163.com"
  97 + git config --global user.name "vbenAdmin"
98 98  
99 99 - name: Build
100 100 run: |
... ...