show url link after deployment
This commit is contained in:
parent
6d699a2c74
commit
511136ec21
@ -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'))()
|
||||
|
Loading…
Reference in New Issue
Block a user