fix(ci): 生产环境部署也通过 CI 渲染 .env(避免 DOUBAO 等密钥丢失导致 AI 502) #1961
Reference in New Issue
Block a user
Delete Branch "fix/production-doubao-env-pipeline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
#1958 已修复 staging 上 DOUBAO_API_KEY 丢失导致 AI 端点 502 的问题。但审查发现 deploy-production 没有 Render .env 步骤,直接读取服务器上手写的 /var/lib/xiaoxia-saas-production/.env,下次 release 到 main 时生产 AI 端点会复现同样的 502。
变更
.gitea/workflows/ci-pipeline.ymlscripts/ci_production_deploy.sh验证
备注
🗑️ 预览环境已清理
PR #1961 已关闭或合并,对应的预览环境已被清理。