feature/26-beta-deploys
master
Closes #26.
deploy.yml
deploy-beta.yml
--env beta
deploy-prod.yml
workflow_dispatch
--env prod
dta_service
chat_web_app
ALLOWED_HOSTS
CORS_ALLOWED_ORIGINS
.env.prod.example
FRONTEND_BASE_URL
validate-env.sh
Backend does not load tracker.js. FE already owns wiring (chat_web_app#35, closed).
tracker.js
chat_web_app#35
https://beta.chat.aimloperations.com
.env.beta
cms38bw671mf9n5jjw3xp1j3q
host_apps
:8013
chat_backend_beta
Closes #26. Split deploy.yml into deploy-beta (push→master) and deploy-prod (workflow_dispatch), wire beta hosts/CORS defaults, and document beta secret + Tianji coordination with chat_web_app.
No dependencies set.
The note is not visible to the blocked user.
Summary
Closes #26.
deploy.ymlwithdeploy-beta.yml(push tomaster→ tests →--env beta) anddeploy-prod.yml(workflow_dispatchonly →--env prod), matchingdta_service/chat_web_appALLOWED_HOSTS/CORS_ALLOWED_ORIGINSinclude beta API + SPA hosts so beta frontend (and Tianji-instrumented pages) can call the API.env.prod.examplebeta block (CORS, CSRF, OAuth callbacks,FRONTEND_BASE_URL, Tianji note)validate-env.shfor beta secrets; README documents beta auto / prod buttonTianji
Backend does not load
tracker.js. FE already owns wiring (chat_web_app#35, closed).https://beta.chat.aimloperations.com.env.beta):cms38bw671mf9n5jjw3xp1j3qCoordination
host_appsbeta:8013,chat_backend_betaDB, secret, NPM)Test plan
mastertriggers Deploy Beta only (not prod)workflow_dispatchstill deploys--env prodchat_backend_betahttps://beta.chat.aimloperations.com