Merge pull request 'fix(ci): 生产环境部署也通过 CI 渲染 .env(避免 DOUBAO 等密钥丢失导致 AI 502)' (#1961) from fix/production-doubao-env-pipeline into develop

This commit was merged in pull request #1961.
This commit is contained in:
2026-09-16 12:50:28 +08:00
2 changed files with 470 additions and 468 deletions
File diff suppressed because it is too large Load Diff
+5 -1
View File
@@ -69,7 +69,11 @@ if [ -z "$IMAGE_TAG" ]; then
exit 1
fi
test -f "$ENV_FILE"
if [ ! -f "$ENV_FILE" ]; then
echo "ERROR: $ENV_FILE 不存在。CI 应先在 render_env 步骤渲染并上传此文件"
exit 1
fi
echo "✅ .env file found: $ENV_FILE ($(wc -l < $ENV_FILE) lines)"
mkdir -p "$GENERATED_DIR"
mkdir -p "$LEGACY_ASSETS_DIR"