From 6da3e89a0fd41891de620cd5cc6323a21a02375c Mon Sep 17 00:00:00 2001 From: Frederik Wessberg Date: Mon, 23 Jan 2023 16:47:19 +0100 Subject: [PATCH] fix: use exit code 0 in deploy script after successful deployment --- deploy.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy.js b/deploy.js index e8df888..765e692 100644 --- a/deploy.js +++ b/deploy.js @@ -372,4 +372,6 @@ if (pm2NeverRan) { } else { await ssh.execCommand(`${envVariables} npx pm2 reload ${APP_NAME} --update-env`, {cwd: REMOTE_ROOT}); } -console.log("`Done!"); +console.log("Done!"); + +process.exit(0); \ No newline at end of file