From 51688ccc9f11da2a263ceb02d1f6affc60d51e9f Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Fri, 4 Feb 2022 06:46:06 +0800 Subject: [PATCH] Correct the branches that triggers `gh-action` --- .github/workflows/ci.yml | 5 +++-- .github/workflows/pages-deploy.yml.hook | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e134ac..dc8083e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,10 @@ name: 'Continuous Integration' on: push: branches-ignore: - - 'production' + - 'release/**' + - 'docs' tags-ignore: - - '*' + - '**' paths-ignore: - '.github/**' - '!.github/workflows/ci.yml' diff --git a/.github/workflows/pages-deploy.yml.hook b/.github/workflows/pages-deploy.yml.hook index 81a249e..e3efcc8 100644 --- a/.github/workflows/pages-deploy.yml.hook +++ b/.github/workflows/pages-deploy.yml.hook @@ -2,7 +2,7 @@ name: 'Automatic build' on: push: branches: - - master + - main paths-ignore: - .gitignore - README.md