feat: 调整部署脚本

This commit is contained in:
2026-07-28 17:05:22 +08:00
parent 1edf3d560c
commit fe45e31165
14 changed files with 255 additions and 118 deletions
+4
View File
@@ -5,6 +5,7 @@ export interface ServerConfig {
host: string;
port: number;
username: string;
/** 部署根目录;实际路径为 {deployPath}/ecom-dmb/{service}/{env} */
deployPath: string;
authType: 'password' | 'key';
keyPath?: string;
@@ -19,6 +20,9 @@ export interface ServiceEnvConfig {
dbUrl?: string;
redisUrl?: string;
licenseDbUrl?: string;
/** 仅静态文件部署(不启动 Docker),前端常用 */
staticDeploy?: boolean;
/** @deprecated 改用 staticDeploy;若存在则仍视为静态部署 */
extractDir?: string;
}