mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-25 11:58:43 +08:00
chore: update ci
This commit is contained in:
parent
2d2a265418
commit
908a2fbb3a
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@ -86,10 +86,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Set SSH Environment
|
- name: Set SSH Environment
|
||||||
env:
|
env:
|
||||||
DOCS_DEPLOY_KEY: ${{ secrets.DEPLOY_TOKEN }}
|
DOCS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh/
|
mkdir -p ~/.ssh/
|
||||||
echo "$DEPLOY_TOKEN" > ~/.ssh/id_rsa
|
echo "$ACTIONS_DEPLOY_KEY" > ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
ssh-keyscan github.com > ~/.ssh/known_hosts
|
ssh-keyscan github.com > ~/.ssh/known_hosts
|
||||||
chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
|
chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
|
||||||
@ -106,7 +106,7 @@ jobs:
|
|||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v2.5.0
|
uses: peaceiris/actions-gh-pages@v2.5.0
|
||||||
env:
|
env:
|
||||||
ACTIONS_DEPLOY_KEY: ${{secrets.DEPLOY_TOKEN}}
|
ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}}
|
||||||
PUBLISH_BRANCH: gh-pages
|
PUBLISH_BRANCH: gh-pages
|
||||||
PUBLISH_DIR: ./dist
|
PUBLISH_DIR: ./dist
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user