add webhook gitea

This commit is contained in:
joseph le 2023-09-20 13:29:16 +07:00
parent bcd36779e4
commit a1700db44c
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ router.post("/api/gitea-webhook", ( req, res ) => {
// console.log('Received push event from GitLab:'); // console.log('Received push event from GitLab:');
// console.log(JSON.stringify(eventData, null, 2)); // console.log(JSON.stringify(eventData, null, 2));
// } // }
console.log("New event ---> ", req.body); // console.log("New event ---> ", req.body);
exec( exec(
"/home/giteaHook.sh", "/home/giteaHook.sh",