Skip to content

Commit 89246b4

Browse files
HR-codingclaude
andcommitted
chore(deploy): enable DEMO_MODE on Cloud Run so the live demo button works
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 874baff commit 89246b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy-cloudrun.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ gcloud builds submit --tag $img
6161
if ($LASTEXITCODE -ne 0) { Write-Host "BUILD FAILED - see errors above." -ForegroundColor Red; exit 1 }
6262

6363
Write-Host "== Deploying to Cloud Run ==" -ForegroundColor Cyan
64-
gcloud run deploy $Service --image $img --region $Region --allow-unauthenticated --min-instances 1 --max-instances 1 --memory 1Gi --set-env-vars "MONGODB_DB=tax_agent_db,ORCHESTRATOR_MODEL=gemini-2.0-flash,AGENT_REQUIRE_SIGNATURE=0,POSTGRES_URL=sqlite+pysqlite:////app/taxassist.db,GOOGLE_CREDENTIALS_FILE=/secrets/cred/credentials.json,GOOGLE_TOKEN_FILE=/secrets/tok/token.json" --set-secrets "MONGO_URI=MONGO_URI:latest,GOOGLE_API_KEY=GOOGLE_API_KEY:latest,AGENT_SECRET_KEY=AGENT_SECRET_KEY:latest,CONTROL_ENC_KEY=CONTROL_ENC_KEY:latest,POLL_TOKEN=POLL_TOKEN:latest,GOOGLE_OAUTH_CLIENT_ID=GOOGLE_OAUTH_CLIENT_ID:latest,GOOGLE_OAUTH_CLIENT_SECRET=GOOGLE_OAUTH_CLIENT_SECRET:latest,/secrets/cred/credentials.json=google-credentials:latest,/secrets/tok/token.json=google-token:latest"
64+
gcloud run deploy $Service --image $img --region $Region --allow-unauthenticated --min-instances 1 --max-instances 1 --memory 1Gi --set-env-vars "MONGODB_DB=tax_agent_db,ORCHESTRATOR_MODEL=gemini-2.0-flash,AGENT_REQUIRE_SIGNATURE=0,DEMO_MODE=1,POSTGRES_URL=sqlite+pysqlite:////app/taxassist.db,GOOGLE_CREDENTIALS_FILE=/secrets/cred/credentials.json,GOOGLE_TOKEN_FILE=/secrets/tok/token.json" --set-secrets "MONGO_URI=MONGO_URI:latest,GOOGLE_API_KEY=GOOGLE_API_KEY:latest,AGENT_SECRET_KEY=AGENT_SECRET_KEY:latest,CONTROL_ENC_KEY=CONTROL_ENC_KEY:latest,POLL_TOKEN=POLL_TOKEN:latest,GOOGLE_OAUTH_CLIENT_ID=GOOGLE_OAUTH_CLIENT_ID:latest,GOOGLE_OAUTH_CLIENT_SECRET=GOOGLE_OAUTH_CLIENT_SECRET:latest,/secrets/cred/credentials.json=google-credentials:latest,/secrets/tok/token.json=google-token:latest"
6565

6666
if ($LASTEXITCODE -eq 0) {
6767
Write-Host ""

0 commit comments

Comments
 (0)