diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a0334f8..9c5882a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,9 +2,9 @@ name: CI/CD with Git Actions & Docker Hub # 워크플로우 트리거: 브랜치에 대한 push 이벤트 발생 시 실행 on: - push: + pull_request: branches: - - GitActionsTest + - main jobs: build: @@ -18,7 +18,7 @@ jobs: - name: Set application.yml run: | mkdir -p ./src/main/resources - echo "${{ secrets.APPLICATION_YML }}" | base64 --decode > ./src/main/resources/application.yml + echo "${{ secrets.APPLICATION_YML }}" > ./src/main/resources/application.yml # Open JDK 17 설정 - name: Set up JDK 17