Skip to content

Commit

Permalink
fix: build-and-deploy가 보이지 않는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamiwood committed Dec 20, 2024
1 parent 52dec47 commit 7babf8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/itcast-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ name: ItcastBuildAndDeploy

on:
workflow_run:
workflows:
- ItcastBuildAndTest
workflows: ["ItcastBuildAndTest"]
types:
- completed
- success

jobs:
deploy:
Expand All @@ -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:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/itcast-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
run: docker-compose down

0 comments on commit 7babf8d

Please sign in to comment.