mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-24 20:45:57 +00:00
Fix deploy-demo-server.js do not download the dist
This commit is contained in:
parent
76bdb62a5b
commit
5bf00fbe0b
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,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("npm run download-dist", {
|
||||||
|
cwd,
|
||||||
|
});
|
||||||
|
console.log(result.stdout + result.stderr);
|
||||||
|
|
||||||
result = await ssh.execCommand("npm install --production", {
|
result = await ssh.execCommand("npm install --production", {
|
||||||
cwd,
|
cwd,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue