From 361c4ab6b2098b1d6bc1f76f2a31f7102219da17 Mon Sep 17 00:00:00 2001 From: Amisha Canopas Date: Wed, 8 Jan 2025 17:55:47 +0530 Subject: [PATCH] Update FirebaseDeploy.yml --- .github/workflows/FirebaseDeploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/FirebaseDeploy.yml b/.github/workflows/FirebaseDeploy.yml index f7cde83c..b8a81b59 100644 --- a/.github/workflows/FirebaseDeploy.yml +++ b/.github/workflows/FirebaseDeploy.yml @@ -42,10 +42,11 @@ jobs: FIREBASE_SERVICE_JSON: ${{ secrets.FIREBASE_SERVICE_JSON }} run: | echo $FIREBASE_SERVICE_JSON | base64 --decode > firebase-service-account.json - # export GOOGLE_APPLICATION_CREDENTIALS=firebase-service-account.json - firebase use --add $FIREBASE_PROJECT_ID --token "$(firebase login:ci --key-file=firebase-service-account.json)" + cat firebase-service-account.json + export GOOGLE_APPLICATION_CREDENTIALS=firebase-service-account.json + # firebase use --add $FIREBASE_PROJECT_ID --token "$(firebase login:ci --key-file=firebase-service-account.json)" # firebase auth:activate-service-account --key-file=firebase-service-account.json - firebase use --add --project $FIREBASE_PROJECT_ID + firebase --project $FIREBASE_PROJECT_ID projects:list - name: Deploy Firestore Rules and Indexes env: