Skip to content

Commit

Permalink
Add prod firebase deploy (demo only for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahanneda committed Sep 1, 2024
1 parent 2a4986c commit 80fcb49
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/prod-firebase-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Prod: Deploy frontend"

on:
workflow_dispatch:
push:
branches:
- main
paths:
- "frontend/**"

jobs:
build_and_deploy:
runs-on: ubuntu-latest
environment: staging
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: ./.github/actions/firebase-deploy
with:
channelId: live
backendUrl: "${{ secrets.BACKEND_URL_STAGING }}"
oauthClientId: "${{ secrets.OAUTH_CLIENT_ID_STAGING }}"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SVC_ACCOUNT_JSON_PROD }}"
projectId: "${{ secrets.FIREBASE_PROJECT_ID_PROD }}"

0 comments on commit 80fcb49

Please sign in to comment.