mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 12:04:02 +00:00
fix(cd): add DB_SCHEMA env var to Cloud Run deployment
This commit is contained in:
1
.github/workflows/cd.yml
vendored
1
.github/workflows/cd.yml
vendored
@@ -158,6 +158,7 @@ jobs:
|
||||
--image "${{ steps.images.outputs.bot_image }}" \
|
||||
--region "${GCP_REGION}" \
|
||||
--project "${{ secrets.GCP_PROJECT_ID }}" \
|
||||
--set-env-vars "DB_SCHEMA=${{ github.ref == 'refs/heads/main' && 'public' || 'test' }}" \
|
||||
--allow-unauthenticated \
|
||||
--quiet
|
||||
|
||||
|
||||
Reference in New Issue
Block a user