From 0b0849b107fa2e3e7a26496edc11f4f65981a09d Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Sat, 8 May 2021 13:28:39 +0800 Subject: [PATCH] ci: ignore perrelease site deploy (#30439) --- .github/workflows/site-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/site-deploy.yml b/.github/workflows/site-deploy.yml index 4c628e47c9..cfa50f5064 100644 --- a/.github/workflows/site-deploy.yml +++ b/.github/workflows/site-deploy.yml @@ -7,7 +7,7 @@ on: jobs: setup: runs-on: ubuntu-latest - if: github.event.ref_type == 'tag' + if: github.event.ref_type == 'tag' && (contains(github.event.ref, '-') == false) steps: - name: checkout uses: actions/checkout@master @@ -67,4 +67,4 @@ jobs: PUBLISH_BRANCH: gh-pages PUBLISH_DIR: ./_site with: - emptyCommits: false \ No newline at end of file + emptyCommits: false