Skip to content

Commit

Permalink
feat: main 브랜치에 머지될 경우에만 배포가 되도록 조건 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Oct 7, 2024
1 parent 0c22c56 commit c973665
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build # CI 파이프라인의 build 작업이 끝나야 deploy가 실행됨
if: github.event_name == 'push'

steps:
# EC2 서버로 배포
Expand Down

0 comments on commit c973665

Please sign in to comment.