diff --git a/deploy.js b/deploy.js index 1ac8bfb..7d3fed0 100644 --- a/deploy.js +++ b/deploy.js @@ -112,6 +112,11 @@ if (connection.targetType==='ssh') { deployToGit(connection) } +console.info(`*** Successfully deployed ${connection.fromPath} to ${connection.targetPath}/${connection.targetDir} ***`) +if (connection.url){ + console.info(`*** Visiting ${connection.url} ***`) +} + /** ********************** 连接到 Ssh主机,拷贝文件到指定路径 ************* **/ function deployToSsh(connection){ const ssh = new (require('node-ssh'))()