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 - name: Build Github
run: | run: |
yarn install
yarn run build:pro yarn run build:pro
- name: Deploy - name: Deploy

View File

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