From ff1e9c5241baa6df12ddce09afddb89bcd496927 Mon Sep 17 00:00:00 2001 From: "luk.lu" Date: Mon, 13 Sep 2021 13:09:01 +0800 Subject: [PATCH] u --- deploy.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy.js b/deploy.js index 5bda925..78b45b7 100644 --- a/deploy.js +++ b/deploy.js @@ -164,19 +164,19 @@ function deployToSsh(connection){ }) ssh.dispose() if (err) { - console.error(`🙁️🙁️🙁️ Failed deploy ${wo.envi.deploy.fromPath} to ${connection.targetPath}/${connection.targetDir} 🙁️🙁️🙁️`) + console.error(`🤷‍♀️🤷‍♀️🤷‍♀️ Failed deploy ${wo.envi.deploy.fromPath} to ${connection.targetPath}/${connection.targetDir} 🤷‍♀️🤷‍♀️🤷‍♀️`) process.exit(1) } else { console.info(`😊😊😊 Successfully deployed [${wo.envi.deploy.fromPath}] to [${connection.targetPath}/${connection.targetDir}] 😊😊😊`) if (connection.url){ - console.info(`*** ${connection.url} ***`) + console.info(`😊😊😊 ${connection.url} 😊😊😊`) } process.exit() } }).catch(err => { console.error(err) ssh.dispose() - console.error(`🙁️🙁️🙁️ Failed deploy [${wo.envi.deploy.fromPath}] to [${connection.targetPath}/${connection.targetDir}] 🙁️🙁️🙁️`) + console.error(`🤷‍♀️🤷‍♀️🤷‍♀️ Failed deploy [${wo.envi.deploy.fromPath}] to [${connection.targetPath}/${connection.targetDir}] 🤷‍♀️🤷‍♀️🤷‍♀️`) process.exit(1) }) } @@ -302,10 +302,10 @@ function deployToGit(connection){ }).then(()=>{ console.info(`😊😊😊 Successfully deployed [${wo.envi.deploy.fromPath}] to [${connection.repo}#${connection.branch}] 😊😊😊`) if (connection.url){ - console.info(`*** ${connection.url} ***`) + console.info(`😊😊😊 ${connection.url} 😊😊😊`) } }).catch((err)=>{ - console.error(`🙁️🙁️🙁️ Failed deploy [${wo.envi.deploy.fromPath}] to [${connection.targetPath}/${connection.targetDir}] 🙁️🙁️🙁️`) + console.error(`🤷‍♀️🤷‍♀️🤷‍♀️ Failed deploy [${wo.envi.deploy.fromPath}] to [${connection.targetPath}/${connection.targetDir}] 🤷‍♀️🤷‍♀️🤷‍♀️`) process.exit(1) }) }