Commit 908a2fbb3a27d2796a79ccd5576ca4c3a2d372ea

Authored by JinMao
1 parent 2d2a2654

chore: update ci

Showing 1 changed file with 3 additions and 3 deletions
.github/workflows/deploy.yml
@@ -86,10 +86,10 @@ jobs: @@ -86,10 +86,10 @@ jobs:
86 86
87 - name: Set SSH Environment 87 - name: Set SSH Environment
88 env: 88 env:
89 - DOCS_DEPLOY_KEY: ${{ secrets.DEPLOY_TOKEN }} 89 + DOCS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
90 run: | 90 run: |
91 mkdir -p ~/.ssh/ 91 mkdir -p ~/.ssh/
92 - echo "$DEPLOY_TOKEN" > ~/.ssh/id_rsa 92 + echo "$ACTIONS_DEPLOY_KEY" > ~/.ssh/id_rsa
93 chmod 600 ~/.ssh/id_rsa 93 chmod 600 ~/.ssh/id_rsa
94 ssh-keyscan github.com > ~/.ssh/known_hosts 94 ssh-keyscan github.com > ~/.ssh/known_hosts
95 chmod 700 ~/.ssh && chmod 600 ~/.ssh/* 95 chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
@@ -106,7 +106,7 @@ jobs: @@ -106,7 +106,7 @@ jobs:
106 - name: Deploy 106 - name: Deploy
107 uses: peaceiris/actions-gh-pages@v2.5.0 107 uses: peaceiris/actions-gh-pages@v2.5.0
108 env: 108 env:
109 - ACTIONS_DEPLOY_KEY: ${{secrets.DEPLOY_TOKEN}} 109 + ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}}
110 PUBLISH_BRANCH: gh-pages 110 PUBLISH_BRANCH: gh-pages
111 PUBLISH_DIR: ./dist 111 PUBLISH_DIR: ./dist
112 with: 112 with: