From d4429ad0c475e0052a5591919b8325d28254eeb7 Mon Sep 17 00:00:00 2001 From: Matthew Foster Date: Wed, 5 Jun 2024 10:22:20 -0700 Subject: [PATCH] revert changes to firebase function deploy and update firebase token enviroment variable in github using `firebase login:ci` --- .github/workflows/firebase-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/firebase-deploy.yaml b/.github/workflows/firebase-deploy.yaml index a654b626..edb773d1 100644 --- a/.github/workflows/firebase-deploy.yaml +++ b/.github/workflows/firebase-deploy.yaml @@ -36,7 +36,7 @@ jobs: echo "REACT_APP_GOOGLE_CLOUD_API_KEY_DEV=${{ secrets.REACT_APP_GOOGLE_CLOUD_API_KEY_DEV }}" >> .env echo "RECORD_GENERATOR_URL=${{ secrets.RECORD_GENERATOR_URL }}" >> .env echo "Setting Firebase Project..." - firebase use --add cioos-metadata-form --token ${{ secrets.FIREBASE_TOKEN }} + firebase use default echo "Deploying to Firebase..." firebase deploy --only functions --token ${{ secrets.FIREBASE_TOKEN }} working-directory: firebase-functions/functions