|
@@ -4,6 +4,7 @@ const {
|
|
|
showSuccessText,
|
|
|
showErrorText,
|
|
|
showBigSuccessText,
|
|
|
+ showLogText,
|
|
|
} = require("../utils");
|
|
|
|
|
|
const localBuild = async function (config) {
|
|
@@ -181,7 +182,8 @@ module.exports = {
|
|
|
await unzipFile(config);
|
|
|
await deleteLocalFile(config);
|
|
|
disconnectSSH();
|
|
|
- showBigSuccessText("部署成功");
|
|
|
+ showBigSuccessText('部署成功');
|
|
|
+ showLogText(`总耗时:${Math.floor(process.uptime())}s`)
|
|
|
process.exit(0);
|
|
|
} else {
|
|
|
showErrorText(
|