add webhook gitea
This commit is contained in:
parent
bcd36779e4
commit
a1700db44c
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue