chore: t
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user