Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build-deploy-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,16 @@ jobs:
- name: Install Firebase CLI
run: npm install -g firebase-tools

- name: Create service account file
run: echo '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BS3APP_DFB63 }}' > $HOME/gcloud.json
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BS3APP_DFB63 }}'

- name: Deploy functions
run: firebase deploy --only functions --project bs3app-dfb63
working-directory: ./bs3-functions
env:
PERPLEXITY_SONAR_API_KEY: ${{ secrets.PERPLEXITY_SONAR_API_KEY }}
GOOGLE_APPLICATION_CREDENTIALS: $HOME/gcloud.json

- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
Expand Down