From 27e21c01aec4305d39160a175c56d913fbcabd5a Mon Sep 17 00:00:00 2001 From: swa07016 Date: Thu, 14 Dec 2023 20:01:21 +0900 Subject: [PATCH] =?UTF-8?q?:construction=5Fworker:=20Ci:=20push=20?= =?UTF-8?q?=ED=8A=B8=EB=A6=AC=EA=B1=B0=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dev_deploy.yml | 7 +------ .github/workflows/release_deploy.yml | 8 +------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/dev_deploy.yml b/.github/workflows/dev_deploy.yml index 313a1de..e86d9ca 100644 --- a/.github/workflows/dev_deploy.yml +++ b/.github/workflows/dev_deploy.yml @@ -1,9 +1,6 @@ name: Breifing Dev CI/CD on: - push: - branches: - - develop pull_request: branches: - develop @@ -14,9 +11,7 @@ on: jobs: build: runs-on: ubuntu-latest # (3).OS환경 - if: > - (github.event_name == 'push' && github.ref == 'refs/heads/develop' && github.event.head_commit.message !~ /Merge pull request #\d+ from .+/) || - (github.event_name == 'pull_request' && github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'develop') + if: github.event.pull_request.merged == true steps: - name: Checkout diff --git a/.github/workflows/release_deploy.yml b/.github/workflows/release_deploy.yml index 5c3b78a..6ce6b3f 100644 --- a/.github/workflows/release_deploy.yml +++ b/.github/workflows/release_deploy.yml @@ -1,9 +1,6 @@ name: Breifing Release CI/CD on: - push: - branches: - - release pull_request: branches: - release @@ -14,10 +11,7 @@ on: jobs: build: runs-on: ubuntu-latest # (3).OS환경 - if: > - (github.event_name == 'push' && github.ref == 'refs/heads/release' && github.event.head_commit.message !~ /Merge pull request #\d+ from .+/) || - (github.event_name == 'pull_request' && github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'release') - + if: github.event.pull_request.merged == true steps: - name: Checkout