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