From fec9d32b2e7fe44c5a6530da6c04cbbf64e39dc6 Mon Sep 17 00:00:00 2001 From: Kuitos Date: Sat, 24 Apr 2021 23:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20fix=20publish=20(#1416)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 11 ++++++----- .github/workflows/now.yml | 2 +- .github/workflows/publish-1.x.yml | 6 ++---- .github/workflows/publish-latest.yml | 6 ++---- .github/workflows/publish-next.yml | 8 ++------ .github/workflows/release-notify.yml | 4 ++-- 6 files changed, 15 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a331c429b..7597192c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,14 +1,15 @@ name: CI on: - push: - branches: [ $default-branch ] pull_request: - branches: [ $default-branch ] + push: + branches: + - $default-branch + - next + - 1.x jobs: - build: - + ci: runs-on: ubuntu-latest strategy: diff --git a/.github/workflows/now.yml b/.github/workflows/now.yml index 16064b875..b6804cadf 100644 --- a/.github/workflows/now.yml +++ b/.github/workflows/now.yml @@ -1,4 +1,4 @@ -name: qiankun - deploy +name: Qiankun Doc Deploy on: push: branches: diff --git a/.github/workflows/publish-1.x.yml b/.github/workflows/publish-1.x.yml index 21b3792cf..6881be870 100644 --- a/.github/workflows/publish-1.x.yml +++ b/.github/workflows/publish-1.x.yml @@ -1,14 +1,12 @@ -name: Publish 1.x VERSION +name: Publish 1.x Version on: push: - branches: - - 1.x tags: - v1.* jobs: - build: + publish: runs-on: ubuntu-latest diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml index 6030d7e33..5cb767002 100644 --- a/.github/workflows/publish-latest.yml +++ b/.github/workflows/publish-latest.yml @@ -1,14 +1,12 @@ -name: Publish LATEST VERSION +name: Publish Latest Version on: push: - branches: - - master tags: - v2.* jobs: - build: + publish: runs-on: ubuntu-latest diff --git a/.github/workflows/publish-next.yml b/.github/workflows/publish-next.yml index 0263b24c1..f6938c712 100644 --- a/.github/workflows/publish-next.yml +++ b/.github/workflows/publish-next.yml @@ -1,17 +1,13 @@ -name: Publish NEXT VERSION +name: Publish Next Version on: push: - branches: - - next tags: - v3.* jobs: - build: - + publish: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/release-notify.yml b/.github/workflows/release-notify.yml index 451f4b0d9..e6e995da7 100644 --- a/.github/workflows/release-notify.yml +++ b/.github/workflows/release-notify.yml @@ -1,11 +1,11 @@ -name: Release notify +name: Release Notify on: release: types: [published] jobs: - build: + notify: runs-on: ubuntu-latest steps: - name: Send DingGroup1 Notify