Skip to content

Commit

Permalink
[Feat] git action slack 알림 연동
Browse files Browse the repository at this point in the history
  • Loading branch information
t1nm1ksun committed Feb 4, 2025
1 parent 83a28b1 commit 9adfc12
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,22 @@ jobs:
- name: Build with Gradle
run: ./gradlew build -PcompileSdkVersion=34

- name: Slack Notify - Success
if: ${{ success() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: '#B7FF1D'
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_TITLE: '✅ PR Success ✅'
SLACK_USERNAME: DEPORMEET-TEAM6 🍗
SLACK_MESSAGE: 'PR이 완료되었습니다! 😆‍'

- name: Slack Notify - Failure
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: '#FF9254'
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_TITLE: '❌ PR Failed ❌'
SLACK_USERNAME: DEPORMEET-TEAM6 🍗
SLACK_MESSAGE: '에러를 확인해 주세요 🫨'

0 comments on commit 9adfc12

Please sign in to comment.