Skip to content

Commit

Permalink
ci: point to prod project
Browse files Browse the repository at this point in the history
  • Loading branch information
longwind48 committed Dec 27, 2024
1 parent 4d406b8 commit 98f5bad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_functions_prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy firebase functions to PROD
name: Deploy Functions Prod

on:
push:
Expand All @@ -10,7 +10,7 @@ on:
workflow_dispatch:

jobs:
build_and_deploy:
deploy:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the code
Expand Down Expand Up @@ -75,4 +75,4 @@ jobs:
working-directory: backend
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ runner.temp }}/gcloud.json
run: npx firebase-tools deploy --only functions --debug --token "${{ secrets.FIREBASE_TOKEN_SCHEMESSG_V3_PROD }}"
run: npx firebase-tools deploy --only functions --project schemessg --debug --token "${{ secrets.FIREBASE_TOKEN_PROD }}"
4 changes: 3 additions & 1 deletion backend/.firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"projects": {
"default": "schemessg-v3-dev"
"default": "schemessg-v3-dev",
"dev": "schemessg-v3-dev",
"prod": "schemessg"
}
}

0 comments on commit 98f5bad

Please sign in to comment.