From 5c6427e3d20f2a6189362aeb95f90f612fc891aa Mon Sep 17 00:00:00 2001 From: whekin Date: Sun, 15 Mar 2026 21:03:10 +0400 Subject: [PATCH] fix(cd): add DB_SCHEMA env var to Cloud Run deployment --- .github/workflows/cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 07eb603..867ab11 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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