Skip to content

Commit

Permalink
[config] 수정이 발생한 모듈만 재배포하도록 수정
Browse files Browse the repository at this point in the history
- 변경을 감지해 변경된 모듈(경로)의 jar 파일만 다시 배포
  • Loading branch information
jcw1031 committed Aug 25, 2024
1 parent 8949780 commit 963c334
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dev-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
chmod 600 private_key
- name: 가게노출 서비스 배포
if: steps.check_changes.outputs.restaurant-exposure == 'false'
if: steps.check_changes.outputs.restaurant-exposure == 'true'
env:
HOST: ${{ secrets.DEV_EC2_HOST1 }}
USER: ${{ secrets.DEV_EC2_USER }}
Expand All @@ -69,7 +69,7 @@ jobs:
EOF
- name: 검색 서비스 배포
if: steps.check_changes.outputs.search == 'false'
if: steps.check_changes.outputs.search == 'true'
env:
HOST: ${{ secrets.DEV_EC2_HOST2 }}
USER: ${{ secrets.DEV_EC2_USER }}
Expand All @@ -82,11 +82,11 @@ jobs:
- name: 기타 서비스 배포
if: |
steps.check_changes.outputs.cache == 'false' ||
steps.check_changes.outputs.advertisement == 'false' ||
steps.check_changes.outputs.coupon == 'false' ||
steps.check_changes.outputs.delivery-time == 'false' ||
steps.check_changes.outputs.restaurant == 'false'
steps.check_changes.outputs.cache == 'true' ||
steps.check_changes.outputs.advertisement == 'true' ||
steps.check_changes.outputs.coupon == 'true' ||
steps.check_changes.outputs.delivery-time == 'true' ||
steps.check_changes.outputs.restaurant == 'true'
env:
HOST: ${{ secrets.DEV_EC2_HOST3 }}
USER: ${{ secrets.DEV_EC2_USER }}
Expand Down

0 comments on commit 963c334

Please sign in to comment.