From 61506b1af23061efe30c9d687f50d71f197de7e6 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Tue, 14 Mar 2023 21:05:33 +0800 Subject: [PATCH] [Deploy to demo] No need to restart demo-kuma --- extra/deploy-demo-server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extra/deploy-demo-server.js b/extra/deploy-demo-server.js index d5a517f9..2cc196b3 100644 --- a/extra/deploy-demo-server.js +++ b/extra/deploy-demo-server.js @@ -43,10 +43,11 @@ const prompt = (query) => new Promise((resolve) => rl.question(query, resolve)); }); console.log(result.stdout + result.stderr); + /* result = await ssh.execCommand("pm2 restart 1", { cwd, }); - console.log(result.stdout + result.stderr); + console.log(result.stdout + result.stderr);*/ } catch (e) { console.log(e);