feat: 完善部署脚本

This commit is contained in:
ah--desktop
2026-07-08 23:44:05 +08:00
parent 8af2e9194b
commit 8aee7f407d
16 changed files with 325 additions and 109 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ async function selectEnv(): Promise<Environment> {
const config = await loadConfig();
const env = await select({
message: '选择环境',
choices: (['test', 'pre', 'production'] as Environment[]).map((e) => ({
choices: (['test', 'pre', 'prod'] as Environment[]).map((e) => ({
name: `${e === config.currentEnv ? '● ' : ' '}${ENV_LABELS[e]}`,
value: e,
})),