workflow: update workflow name

This commit is contained in:
陈凯龙 2022-02-22 09:32:11 +08:00
parent 4a9ddc0e5d
commit 82702fbeb6
1 changed files with 4 additions and 7 deletions

View File

@ -6,7 +6,7 @@ on:
- master - master
jobs: jobs:
push-to-gh-pages: push-to-gh-pages-gitee:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@ -17,11 +17,11 @@ jobs:
with: with:
node-version: '16.x' node-version: '16.x'
- name: Get yarn cache - name: Get Yarn Cache
id: yarn-cache id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies - name: Cache Dependencies
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ${{ steps.yarn-cache.outputs.dir }} path: ${{ steps.yarn-cache.outputs.dir }}
@ -46,7 +46,7 @@ jobs:
yarn install yarn install
yarn run build:gitee yarn run build:gitee
- name: Deploy - name: Deploy Gitee
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with:
deploy_key: ${{secrets.ACTIONS_DEPLOY_KEY}} deploy_key: ${{secrets.ACTIONS_DEPLOY_KEY}}
@ -54,9 +54,6 @@ jobs:
publish_dir: ./dist-pro publish_dir: ./dist-pro
keep_files: true keep_files: true
github-repos-to-gitee:
runs-on: ubuntu-20.04
steps:
- name: Sync Github Repos To Gitee # 名字随便起 - name: Sync Github Repos To Gitee # 名字随便起
uses: Yikun/hub-mirror-action@v1.1 # 使用Yikun/hub-mirror-action uses: Yikun/hub-mirror-action@v1.1 # 使用Yikun/hub-mirror-action
with: with: