ci: update workflow
This commit is contained in:
parent
91cc5c595c
commit
51f7bca603
|
@ -61,6 +61,7 @@ jobs:
|
|||
|
||||
- name: Build Github
|
||||
run: |
|
||||
yarn install
|
||||
yarn run build:pro
|
||||
|
||||
- name: Deploy
|
||||
|
|
|
@ -28,6 +28,7 @@ jobs:
|
|||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
|
||||
- name: Set SSH Environment
|
||||
env:
|
||||
DOCS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||
|
@ -39,6 +40,7 @@ jobs:
|
|||
chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
|
||||
git config --local user.email "321200875@qq.com"
|
||||
git config --local user.name "kailong321200875"
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
yarn install
|
||||
|
|
Loading…
Reference in New Issue