We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12dc084 commit 1979070Copy full SHA for 1979070
1 file changed
.github/workflows/build-deploy-merge.yml
@@ -40,15 +40,16 @@ jobs:
40
- name: Install Firebase CLI
41
run: npm install -g firebase-tools
42
43
- - name: Create service account file
44
- run: echo '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BS3APP_DFB63 }}' > $HOME/gcloud.json
+ - name: Authenticate to Google Cloud
+ uses: google-github-actions/auth@v2
45
+ with:
46
+ credentials_json: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BS3APP_DFB63 }}'
47
48
- name: Deploy functions
49
run: firebase deploy --only functions --project bs3app-dfb63
50
working-directory: ./bs3-functions
51
env:
52
PERPLEXITY_SONAR_API_KEY: ${{ secrets.PERPLEXITY_SONAR_API_KEY }}
- GOOGLE_APPLICATION_CREDENTIALS: $HOME/gcloud.json
53
54
- name: Deploy to Firebase Hosting
55
uses: FirebaseExtended/action-hosting-deploy@v0
0 commit comments