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

pull/2502/head
Louis Lam 2 years ago
parent 76bdb62a5b
commit 5bf00fbe0b

@ -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,
});

Loading…
Cancel
Save