From 4124016781c4c027458bbbeb62297ed88b0a3afa Mon Sep 17 00:00:00 2001 From: kimjihye Date: Thu, 19 Dec 2024 21:24:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20build-and-deploy=EA=B0=80=20=EB=B3=B4?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/itcast-build-and-deploy.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/itcast-build-and-deploy.yml b/.github/workflows/itcast-build-and-deploy.yml index b5173ed..70d8ec3 100644 --- a/.github/workflows/itcast-build-and-deploy.yml +++ b/.github/workflows/itcast-build-and-deploy.yml @@ -1,16 +1,16 @@ name: ItcastBuildAndDeploy on: - push: - branches: - - main - - issue/** -# workflows: ["ItcastBuildAndTest"] -# types: -# - completed + workflow_run: + workflows: ["ItcastBuildAndTest"] + types: + - completed jobs: deploy: + if: > + github.event.workflow_run.conclusion == 'success' && + github.event.workflow_run.event == 'push' runs-on: ubuntu-latest permissions: contents: read