Skip to content

Commit c7785e6

Browse files
committed
fix: 알림 주석 해제 및 스프링 기본 기동만 하도록 수정
1 parent fa94bca commit c7785e6

File tree

1 file changed

+37
-36
lines changed

1 file changed

+37
-36
lines changed

.github/workflows/deploy-migration-test.yml

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ jobs:
211211
"environment": [
212212
{ "name": "SPRING_PROFILES_ACTIVE", "value": "migration" },
213213
{ "name": "MIGRATION_RDS_URL", "value": "'"${MIGRATION_RDS_URL}"'" },
214-
{ "name": "MIGRATION_S3_BUCKET", "value": "${{ env.CLONED_S3_BUCKET_NAME }}" }
214+
{ "name": "MIGRATION_S3_BUCKET", "value": "${{ env.CLONED_S3_BUCKET_NAME }}" },
215+
{ "name": "SPRING_MAIN_WEB_APPLICATION_TYPE", "value": "NONE" }
215216
]
216217
}
217218
]
@@ -278,38 +279,38 @@ jobs:
278279
--cli-binary-format raw-in-base64-out \
279280
response.json
280281
281-
# notify:
282-
# name: Send Discord Notification (Migration)
283-
# runs-on: ubuntu-latest
284-
# needs: build-and-run-migration
285-
# if: always()
286-
# steps:
287-
# - name: Prepare Notification Info
288-
# id: vars
289-
# run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
290-
#
291-
# - name: Discord Notify (Success)
292-
# if: needs.build-and-run-migration.result == 'success'
293-
# uses: tsickert/[email protected]
294-
# with:
295-
# webhook-url: ${{ secrets.DISCORD_WEBHOOK }}
296-
# embed-title: "✅ Migration Test 배포 성공!"
297-
# embed-color: 65280
298-
# embed-description: |
299-
# 마이그레이션 테스트 환경이 성공적으로 구축되었습니다.
300-
# **커밋**: [${{ steps.vars.outputs.sha_short }}](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
301-
# **실행자**: ${{ github.actor }}
302-
# embed-url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
303-
#
304-
# - name: Discord Notify (Failure)
305-
# if: needs.build-and-run-migration.result != 'success'
306-
# uses: tsickert/[email protected]
307-
# with:
308-
# webhook-url: ${{ secrets.DISCORD_WEBHOOK }}
309-
# embed-title: "❌ Migration Test 배포 실패!"
310-
# embed-color: 16711680
311-
# embed-description: |
312-
# 마이그레이션 테스트 환경 구축중 오류가 발생했습니다.
313-
# **커밋**: [${{ steps.vars.outputs.sha_short }}](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
314-
# **실행자**: ${{ github.actor }}
315-
# embed-url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
282+
notify:
283+
name: Send Discord Notification (Migration)
284+
runs-on: ubuntu-latest
285+
needs: build-and-run-migration
286+
if: always()
287+
steps:
288+
- name: Prepare Notification Info
289+
id: vars
290+
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
291+
292+
- name: Discord Notify (Success)
293+
if: needs.build-and-run-migration.result == 'success'
294+
uses: tsickert/[email protected]
295+
with:
296+
webhook-url: ${{ secrets.DISCORD_WEBHOOK }}
297+
embed-title: "✅ Migration Test 배포 성공!"
298+
embed-color: 65280
299+
embed-description: |
300+
마이그레이션 테스트 환경이 성공적으로 구축되었습니다.
301+
**커밋**: [${{ steps.vars.outputs.sha_short }}](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
302+
**실행자**: ${{ github.actor }}
303+
embed-url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
304+
305+
- name: Discord Notify (Failure)
306+
if: needs.build-and-run-migration.result != 'success'
307+
uses: tsickert/[email protected]
308+
with:
309+
webhook-url: ${{ secrets.DISCORD_WEBHOOK }}
310+
embed-title: "❌ Migration Test 배포 실패!"
311+
embed-color: 16711680
312+
embed-description: |
313+
마이그레이션 테스트 환경 구축중 오류가 발생했습니다.
314+
**커밋**: [${{ steps.vars.outputs.sha_short }}](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
315+
**실행자**: ${{ github.actor }}
316+
embed-url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

0 commit comments

Comments
 (0)