diff --git a/.github/workflows/deploy-apk-github-releases.yml b/.github/workflows/deploy-apk-github-releases.yml index c25638f..8f1f7e8 100644 --- a/.github/workflows/deploy-apk-github-releases.yml +++ b/.github/workflows/deploy-apk-github-releases.yml @@ -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 }} diff --git a/.github/workflows/deploy-apk.yml.disabled b/.github/workflows/deploy-apk.yml.disabled index 054b3a8..2d3b99e 100644 --- a/.github/workflows/deploy-apk.yml.disabled +++ b/.github/workflows/deploy-apk.yml.disabled @@ -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 }} diff --git a/README.md b/README.md index aef66d1..f6023f9 100644 --- a/README.md +++ b/README.md @@ -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 → 테스터 및 그룹 @@ -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 사용 시: @@ -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 설치