Skip to content

Commit

Permalink
add(auto-deploy): add firebase web api key env in staging + prod
Browse files Browse the repository at this point in the history
  • Loading branch information
tirthajyoti-ghosh committed May 10, 2024
1 parent e1b23cc commit d1502b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-to-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
run: |
echo "JWT_SECRET=${{ secrets.PRODUCTION_JWT_SECRET }}" >> .env
echo "DATABASE_URL=${{ secrets.PRODUCTION_DATABASE_URL }}" >> .env
echo "FIREBASE_WEB_API_KEY=${{ secrets.FIREBASE_WEB_API_KEY }}" >> .env
echo "ACCESS_CODE_EXPIRY=1y" >> .env
echo "ENV=production" >> .env
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
run: |
echo "JWT_SECRET=${{ secrets.STAGING_JWT_SECRET }}" >> .env
echo "DATABASE_URL=${{ secrets.STAGING_DATABASE_URL }}" >> .env
echo "FIREBASE_WEB_API_KEY=${{ secrets.FIREBASE_WEB_API_KEY }}" >> .env
echo "ACCESS_CODE_EXPIRY=1y" >> .env
echo "ENV=staging" >> .env
Expand Down

0 comments on commit d1502b6

Please sign in to comment.