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