Skip to content

Commit ac92c5c

Browse files
committed
[chore/#1] action-slack@v3로 변경
1 parent 930117d commit ac92c5c

File tree

3 files changed

+43
-28
lines changed

3 files changed

+43
-28
lines changed

.github/workflows/ace_firebase_distribution.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,24 @@ jobs:
6666
group: 'testers' # Firebase 콘솔에서 설정된 테스터 그룹 이름 지정해야됩니다.
6767
file: app/build/outputs/apk/release/app-release.apk
6868

69-
- name: Slack 알림 (Firebase 배포 성공)
69+
- name: Slack 알림 (빌드 성공)
7070
if: success()
71-
uses: rtCamp/action-slack-notify@v2
71+
uses: 8398a7/action-slack@v3
72+
with:
73+
status: success
74+
fields: workflow,job,commit,repo,author,took,ref
75+
author_name: GitHub Actions
76+
text: "🚀 Firebase App Distribution 배포 성공! 브랜치: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
7277
env:
7378
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
74-
SLACK_CHANNEL: '#client-actions'
75-
SLACK_MESSAGE: "🚀 Firebase App Distribution 배포 성공! 브랜치: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
7679

77-
- name: Slack 알림 (Firebase 배포 실패)
80+
- name: Slack 알림 (빌드 실패)
7881
if: failure()
79-
uses: rtCamp/action-slack-notify@v2
82+
uses: 8398a7/action-slack@v3
83+
with:
84+
status: failure
85+
fields: workflow,job,commit,repo,author,took,ref
86+
author_name: GitHub Actions
87+
text: "🚨 Firebase App Distribution 배포 실패! 브랜치: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
8088
env:
8189
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
82-
SLACK_CHANNEL: '#client-actions'
83-
SLACK_MESSAGE: "🚨 Firebase App Distribution 배포 실패! 브랜치: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
84-
SLACK_COLOR: 'danger'

.github/workflows/ace_internal_test.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
restore-keys: |
3232
${{ runner.os }}-gradle-
3333
34-
# - name: local.properties 설정
35-
# run: |
36-
# echo "base.url=\"${{ secrets.BASE_URL }}\"" >> local.properties
34+
# - name: local.properties 설정
35+
# run: |
36+
# echo "base.url=\"${{ secrets.BASE_URL }}\"" >> local.properties
3737

3838
- name: google-services.json 설정
3939
# Firebase 서비스에 필요한 google-services.json 파일을 Secrets에서 가져옵니다.
@@ -78,19 +78,24 @@ jobs:
7878
releaseFile: app/build/outputs/bundle/release/app-release.aab
7979
track: internal
8080

81-
- name: Slack 알림 (Google Play 내부 테스트 성공)
81+
- name: Slack 알림 (내부 테스트 배포 성공)
8282
if: success()
83-
uses: rtCamp/action-slack-notify@v2
83+
uses: 8398a7/action-slack@v3
84+
with:
85+
status: success
86+
fields: workflow,job,commit,repo,author,took,ref
87+
author_name: GitHub Actions
88+
text: "🚀 Google Play 내부 테스트 배포 성공! 브랜치: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
8489
env:
8590
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
86-
SLACK_CHANNEL: '#client-actions'
87-
SLACK_MESSAGE: "🚀 Google Play 내부 테스트 배포 성공! 브랜치: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
8891

89-
- name: Slack 알림 (Google Play 내부 테스트 실패)
92+
- name: Slack 알림 (내부 테스트 배포 실패)
9093
if: failure()
91-
uses: rtCamp/action-slack-notify@v2
94+
uses: 8398a7/action-slack@v3
95+
with:
96+
status: failure
97+
fields: workflow,job,commit,repo,author,took,ref
98+
author_name: GitHub Actions
99+
text: "🚨 Google Play 내부 테스트 배포 실패! 브랜치: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
92100
env:
93101
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
94-
SLACK_CHANNEL: '#client-actions'
95-
SLACK_MESSAGE: "🚨 Google Play 내부 테스트 배포 실패! 브랜치: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
96-
SLACK_COLOR: 'danger'

.github/workflows/ace_production.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,22 @@ jobs:
8080

8181
- name: Slack 알림 (Google Play 프로덕션 배포 성공)
8282
if: success()
83-
uses: rtCamp/action-slack-notify@v2
83+
uses: 8398a7/action-slack@v3
84+
with:
85+
status: success
86+
fields: workflow,job,commit,repo,author,took,ref
87+
author_name: GitHub Actions
88+
text: "🚀 Google Play 프로덕션 배포 성공! 태그: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
8489
env:
8590
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
86-
SLACK_CHANNEL: '#client-actions'
87-
SLACK_MESSAGE: "🚀 Google Play 프로덕션 배포 성공! 태그: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
8891

8992
- name: Slack 알림 (Google Play 프로덕션 배포 실패)
9093
if: failure()
91-
uses: rtCamp/action-slack-notify@v2
94+
uses: 8398a7/action-slack@v3
95+
with:
96+
status: failure
97+
fields: workflow,job,commit,repo,author,took,ref
98+
author_name: GitHub Actions
99+
text: "🚨 Google Play 프로덕션 배포 실패! 태그: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
92100
env:
93101
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
94-
SLACK_CHANNEL: '#client-actions'
95-
SLACK_MESSAGE: "🚨 Google Play 프로덕션 배포 실패! 태그: `${{ github.ref_name }}` 커밋: `${{ github.sha }}`"
96-
SLACK_COLOR: 'danger'

0 commit comments

Comments
 (0)