From 7babf8ddee4e731b8d656875256221df79b8b61b Mon Sep 17 00:00:00 2001 From: kimjihye Date: Fri, 20 Dec 2024 09:38:37 +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 | 13 ++----------- .github/workflows/itcast-build-and-test.yml | 8 +------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/itcast-build-and-deploy.yml b/.github/workflows/itcast-build-and-deploy.yml index 9fd9f96d..7f6de6ec 100644 --- a/.github/workflows/itcast-build-and-deploy.yml +++ b/.github/workflows/itcast-build-and-deploy.yml @@ -2,10 +2,9 @@ name: ItcastBuildAndDeploy on: workflow_run: - workflows: - - ItcastBuildAndTest + workflows: ["ItcastBuildAndTest"] types: - - completed + - success jobs: deploy: @@ -20,14 +19,6 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Download build artifact - uses: actions/download-artifact@v3 - with: - name: build-results - - - name: Debug workflow_run event - run: echo "${{ toJson(github.event) }}" - - name: Set up JDK 17 uses: actions/setup-java@v3 with: diff --git a/.github/workflows/itcast-build-and-test.yml b/.github/workflows/itcast-build-and-test.yml index 9a5b6293..d917a881 100644 --- a/.github/workflows/itcast-build-and-test.yml +++ b/.github/workflows/itcast-build-and-test.yml @@ -51,10 +51,4 @@ jobs: - name: Tear down Docker Compose if: always() - run: docker-compose down - - - name: Upload build artifact - uses: actions/upload-artifact@v3 - with: - name: build-results - path: build/libs/*.jar \ No newline at end of file + run: docker-compose down \ No newline at end of file