fix: deploy show tips
This commit is contained in:
@@ -430,7 +430,7 @@ const packCommand = new Command('pack')
|
||||
}
|
||||
if (opts.publish) {
|
||||
// 运行 deploy 命令
|
||||
const runDeployCommand = 'envision pack-deploy ' + value.outputFilePath + ' -k ' + appKey;
|
||||
// const runDeployCommand = 'envision pack-deploy ' + value.outputFilePath + ' -k ' + appKey;
|
||||
const [_app, _command] = process.argv;
|
||||
let deployDist = opts.isTar ? value.outputFilePath : packDist;
|
||||
const deployCommand = [_app, _command, 'deploy', deployDist, '-k', appKey, '-v', version, '-u'];
|
||||
@@ -443,8 +443,8 @@ const packCommand = new Command('pack')
|
||||
if (opts.yes) {
|
||||
deployCommand.push('-y', 'yes');
|
||||
}
|
||||
console.log(chalk.blue('deploy doing: '), deployCommand.slice(2).join(' '), '\n\n');
|
||||
console.log('pack deploy services', chalk.blue('example: '), runDeployCommand);
|
||||
console.log(chalk.blue('deploy doing: '), deployCommand.slice(2).join(' '), '\n');
|
||||
// console.log('pack deploy services', chalk.blue('example: '), runDeployCommand);
|
||||
|
||||
program.parse(deployCommand);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user