ci: update workflow

This commit is contained in:
陈凯龙 2022-03-01 16:11:28 +08:00
parent 91cc5c595c
commit 51f7bca603
2 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,7 @@ jobs:
- name: Build Github
run: |
yarn install
yarn run build:pro
- name: Deploy

View File

@ -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