0
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-24 11:37:39 +01:00

Fix deploy-demo-server.js do not download the dist

This commit is contained in:
Louis Lam 2023-02-13 17:40:25 +08:00
parent 76bdb62a5b
commit 5bf00fbe0b

View File

@ -33,6 +33,11 @@ const prompt = (query) => new Promise((resolve) => rl.question(query, resolve));
});
console.log(result.stdout + result.stderr);
result = await ssh.execCommand("npm run download-dist", {
cwd,
});
console.log(result.stdout + result.stderr);
result = await ssh.execCommand("npm install --production", {
cwd,
});