add webhook gitea

This commit is contained in:
joseph le 2023-09-20 13:18:18 +07:00
parent 4114bb7a36
commit bdd91a3685
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); console.log("New event ---> ", req.body);
// exec( // exec(
// Env.get("URL_FILE_SHELL"), // Env.get("URL_FILE_SHELL"),