chore: update ci

This commit is contained in:
vben 2022-11-14 15:04:30 +08:00
parent 448d21287c
commit 93d4655285

View File

@ -86,15 +86,15 @@ jobs:
- name: Set SSH Environment - name: Set SSH Environment
env: env:
DOCS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} DOCS_DEPLOY_KEY: ${{ secrets.DEPLOY_TOKEN }}
run: | run: |
mkdir -p ~/.ssh/ mkdir -p ~/.ssh/
echo "$ACTIONS_DEPLOY_KEY" > ~/.ssh/id_rsa echo "$DEPLOY_TOKEN" > ~/.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/*
git config --local user.email "vbenadmin@163.com" git config --global user.email "vbenadmin@163.com"
git config --local user.name "vbenAdmin" git config --global user.name "vbenAdmin"
- name: Build - name: Build
run: | run: |