mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 15:54:03 +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 }}" \
|
--image "${{ steps.images.outputs.bot_image }}" \
|
||||||
--region "${GCP_REGION}" \
|
--region "${GCP_REGION}" \
|
||||||
--project "${{ secrets.GCP_PROJECT_ID }}" \
|
--project "${{ secrets.GCP_PROJECT_ID }}" \
|
||||||
|
--set-env-vars "DB_SCHEMA=${{ github.ref == 'refs/heads/main' && 'public' || 'test' }}" \
|
||||||
--allow-unauthenticated \
|
--allow-unauthenticated \
|
||||||
--quiet
|
--quiet
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user