Skip to content

Commit

Permalink
배포 완료, 실패 discord 연동
Browse files Browse the repository at this point in the history
  • Loading branch information
cchanmi authored Dec 8, 2024
1 parent 5a3ab73 commit fd32540
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/smeem-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,15 @@ jobs:
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
- name: Send Discord Notification on Success
if: success() # 배포가 성공했을 때만 실행
run: |
curl -H "Content-Type: application/json" -X POST -d '{
"content": "🚀 Smeem 배포가 성공적으로 완료되었습니다! 🎉"
}' ${{ secrets.DISCORD_WEBHOOK_URL_RELEASE }}
- name: Send Discord Notification on Failure
if: failure() # 배포가 실패했을 때만 실행
run: |
curl -H "Content-Type: application/json" -X POST -d '{
"content": "❌ Smeem 배포에 실패했습니다. 확인이 필요합니다."
}' ${{ secrets.DISCORD_WEBHOOK_URL_RELEASE }}

0 comments on commit fd32540

Please sign in to comment.