Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/workflows/deploy-apk-github-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,23 +67,3 @@ jobs:
files: app/build/outputs/apk/debug/app-debug.apk
draft: false
prerelease: false

- name: Notify Discord
uses: rjstone/discord-webhook-notify@v1
if: success()
with:
severity: info
webhookUrl: https://discord.com/api/webhooks/1458783280672542730/y2ecaK758FHc9F2tVb1KlVV_W9chUBkxUI8wEoS68rzW2PofCUgbG7jiYcBbpbDzfdn9/github
text: |
새 APK가 릴리즈되었습니다!
다운로드 링크: https://github.com/${{ github.repository }}/releases/download/build-${{ steps.version.outputs.DATE }}/app-debug.apk

- name: Notify Discord on failure
uses: rjstone/discord-webhook-notify@v1
if: failure()
with:
severity: error
webhookUrl: https://discord.com/api/webhooks/1458783280672542730/y2ecaK758FHc9F2tVb1KlVV_W9chUBkxUI8wEoS68rzW2PofCUgbG7jiYcBbpbDzfdn9/github
text: |
APK 빌드 실패!
작성자: ${{ github.actor }}
29 changes: 0 additions & 29 deletions .github/workflows/deploy-apk.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -100,32 +100,3 @@ jobs:
새 버전이 배포되었습니다!
커밋: ${{ steps.commit.outputs.SHORT_SHA }}
메시지: ${{ steps.commit.outputs.MESSAGE }}

- name: Send Discord notification
uses: rjstone/discord-webhook-notify@v1
if: success()
with:
severity: info
webhookUrl: https://discord.com/api/webhooks/1458783280672542730/y2ecaK758FHc9F2tVb1KlVV_W9chUBkxUI8wEoS68rzW2PofCUgbG7jiYcBbpbDzfdn9/github
text: |
🚀 새 APK가 배포되었습니다!

**버전:** ${{ steps.commit.outputs.SHORT_SHA }}
**커밋:** ${{ steps.commit.outputs.MESSAGE }}
**작성자:** ${{ github.actor }}

📥 **다운로드:**
Firebase 콘솔에서 최신 버전을 다운로드하세요:
https://console.firebase.google.com/project/drzubzub-594aa/appdistribution/app/1:1017615947344:android:9a6380798488227ca4e355/distributors

또는 Firebase App Tester 앱을 설치하고 알림을 확인하세요.

- name: Send Discord notification on failure
uses: rjstone/discord-webhook-notify@v1
if: failure()
with:
severity: error
webhookUrl: https://discord.com/api/webhooks/1458783280672542730/y2ecaK758FHc9F2tVb1KlVV_W9chUBkxUI8wEoS68rzW2PofCUgbG7jiYcBbpbDzfdn9/github
text: |
APK 빌드 실패!
작성자: ${{ github.actor }}
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,6 @@ com.example.hackathon/
- `GOOGLE_SERVICES_JSON`: Base64로 인코딩된 `google-services.json` 내용 (2단계에서 복사한 전체 문자열)
- `FIREBASE_APP_ID`: Firebase App ID
- `FIREBASE_TOKEN`: Firebase CLI 토큰
- `DISCORD_WEBHOOK`: Discord 웹훅 URL (선택사항)

6. **Firebase 테스터 그룹 생성**
- Firebase 콘솔 → App Distribution → 테스터 및 그룹
Expand All @@ -551,18 +550,10 @@ com.example.hackathon/

#### 옵션 2: GitHub Releases (Firebase 없이)

1. **GitHub Secrets 설정**
- `DISCORD_WEBHOOK`: Discord 웹훅 URL (선택사항)

2. **워크플로우 활성화**
1. **워크플로우 활성화**
- `.github/workflows/deploy-apk-github-releases.yml` 파일 사용
- `deploy-apk.yml` 파일을 비활성화하거나 삭제

### Discord 웹훅 설정 (선택사항)

1. Discord 채널 설정 → 연동 → 웹훅 생성
2. 웹훅 URL을 GitHub Secrets에 `DISCORD_WEBHOOK`으로 저장

### 팀원 사용 방법

#### Firebase App Distribution 사용 시:
Expand All @@ -571,7 +562,6 @@ com.example.hackathon/
3. 알림 클릭 → 원터치 설치

#### GitHub Releases 사용 시:
1. Discord 알림에서 링크 클릭
2. GitHub Releases 페이지에서 APK 다운로드
3. 안드로이드 기기에서 "출처를 알 수 없는 앱" 설치 권한 허용
4. APK 설치
1. GitHub Releases 페이지에서 APK 다운로드
2. 안드로이드 기기에서 "출처를 알 수 없는 앱" 설치 권한 허용
3. APK 설치
Loading