Skip to content

Commit

Permalink
Update FirebaseDeploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-amisha-i authored Jan 8, 2025
1 parent d12f0e3 commit 361c4ab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/FirebaseDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 361c4ab

Please sign in to comment.