Skip to content

Update firebase config to handle both staging and prod #6

Update firebase config to handle both staging and prod

Update firebase config to handle both staging and prod #6

name: "Prod: Deploy frontend"
on:
workflow_dispatch:
push:
branches:
- release
jobs:
build_and_deploy:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/firebase-deploy
with:
channelId: live
backendUrl: "${{ secrets.PROD_BACKEND_URL }}"
oauthClientId: "${{ secrets.PROD_OAUTH_CLIENT_ID }}"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.PROD_FIREBASE_DEPLOY_SVC_ACCOUNT_JSON }}"
projectId: "${{ secrets.PROD_FIREBASE_PROJECT_ID }}"