This commit is contained in:
2025-02-06 05:04:12 +06:00
parent f2da079509
commit 3c089f12e2

View File

@@ -45,7 +45,7 @@ fastify.post(
// TODO: healthcheck // TODO: healthcheck
reply.status(200).send("fetched successfully"); reply.status(200).send("fetched successfully");
await execAsync(`git reset --hard origin/${branch}`); await execAsync(`git reset --hard origin/${branch}`);
await execAsync("npm run build"); await execAsync("yarn run build");
} catch (error) { } catch (error) {
reply.status(500).send("Update failed"); reply.status(500).send("Update failed");
} }