From 6d4a7fe6f109dcb466e0253d41fbdf7424bc15b5 Mon Sep 17 00:00:00 2001 From: ezhoon Date: Mon, 29 Jul 2024 20:34:24 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20deploy=20=EB=B0=A9=EC=8B=9D=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deploy_to_firebase_app_distribution.yml | 22 +++++-------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/deploy_to_firebase_app_distribution.yml b/.github/workflows/deploy_to_firebase_app_distribution.yml index f8ef027c..fba87167 100644 --- a/.github/workflows/deploy_to_firebase_app_distribution.yml +++ b/.github/workflows/deploy_to_firebase_app_distribution.yml @@ -19,22 +19,12 @@ jobs: with: google-services: ${{ secrets.GOOGLE_SERVICES }} - - name: Build App - run: ./gradlew ":app:assembleDebug" - - - name: Set APK path - id: apk - run: | - echo "NAME=$(find ./ -type f -name "*.apk" -print -quit)" >> $GITHUB_OUTPUT - name: Create Firebase Credentials run: | echo -n "${{ secrets.FIREBASE_CREDENTIALS }}" | base64 --decode > firebase_credentials.json - - name: Upload App Artifact To Firebase App Distribution - uses: ./.github/actions/firebase-app-distribution - timeout-minutes: 10 - with: - appId: ${{ secrets.FIREBASE_APP_ID }} - serviceCredentialsFile: ./firebase_credentials.json - groups: 뽀모냥 - file: ${{ steps.apk.outputs.NAME }} - debug: true \ No newline at end of file + + - name: Build and Upload App to Firebase App Distribution + run: ./gradlew assembleDebug appDistributionUploadDebug \ + -PfirebaseServiceCredentials=./firebase_credentials.json \ + -PfirebaseAppId=${{ secrets.FIREBASE_APP_ID }} \ + -PfirebaseDistributionGroups=뽀모냥 \ No newline at end of file