Skip to content

Commit

Permalink
chore: Slack에 apk 파일 업로드 되도록 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
tmdgh1592 authored Jul 28, 2023
1 parent 4a8c5c5 commit d56d519
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/android-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build:

name: Firebase CD
runs-on: ubuntu-latest

steps:
Expand All @@ -18,7 +18,7 @@ jobs:

- name: Access GH_CLIENT_ID
env:
GH_CLIENT_ID: $
GH_CLIENT_ID: ${{ secrets.GH_CLIENT_ID }}
run: echo "GH_CLIENT_ID=\"$GH_CLIENT_ID\"" > android/2023-emmsale/local.properties

- name: Access GOOGLE_SERVICE
Expand All @@ -34,5 +34,18 @@ jobs:
with:
appId: ${{secrets.FIREBASE_APP_ID}}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: testers
file: app/build/outputs/apk/debug/app-debug.apk
groups: kerdy-team
file: android/2023-emmsale/app/build/outputs/apk/debug/app-debug.apk

- name: 슬랙에 apk 업로드 브로드캐스트
uses: 8398a7/action-slack@v3
with:
mention: 'here'
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
file_path: 'android/2023-emmsale/app/build/outputs/apk/debug/app-debug.apk'
file_type: 'apk'
initial_comment: '테스트 어플리케이션이 출시되었어요! QA 진행을 부탁드립니다 : )'
env:
SLACK_WEBHOOK_URL: ${{ secrets.DEPLOY_SLACK_WEBHOOK_URL }}
if: always()

0 comments on commit d56d519

Please sign in to comment.