mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 07:49:19 +08:00
feat: 调整部署脚本
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user