mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-11 17:16:40 +08:00
fix(release package): incorrect path
This commit is contained in:
parent
704679931f
commit
8c6be2cca4
1 changed files with 4 additions and 2 deletions
|
@ -166,7 +166,8 @@ const buildProject = () => {
|
|||
|
||||
const deployBackend = () => {
|
||||
console.log("Deploying backend...");
|
||||
runCommand("sh ../bin/deployBackend.sh");
|
||||
const p = path.resolve(__dirname, "../bin/deployBackend.sh");
|
||||
runCommand(`sh ${p}`);
|
||||
};
|
||||
|
||||
const deployFrontend = () => {
|
||||
|
@ -178,7 +179,8 @@ const deployFrontend = () => {
|
|||
|
||||
const purgeCache = () => {
|
||||
console.log("Purging Cloudflare cache...");
|
||||
runCommand("sh ../bin/purgeCfCache.sh");
|
||||
const p = path.resolve(__dirname, "../bin/purgeCfCache.sh");
|
||||
runCommand(`sh ${p}`);
|
||||
};
|
||||
|
||||
const generateChangelog = async () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue