[Deploy to demo] No need to restart demo-kuma

This commit is contained in:
Louis Lam 2023-03-14 21:05:33 +08:00
parent dbe73bd6ae
commit 61506b1af2

View File

@ -43,10 +43,11 @@ const prompt = (query) => new Promise((resolve) => rl.question(query, resolve));
}); });
console.log(result.stdout + result.stderr); console.log(result.stdout + result.stderr);
/*
result = await ssh.execCommand("pm2 restart 1", { result = await ssh.execCommand("pm2 restart 1", {
cwd, cwd,
}); });
console.log(result.stdout + result.stderr); console.log(result.stdout + result.stderr);*/
} catch (e) { } catch (e) {
console.log(e); console.log(e);