add webhook gitea
This commit is contained in:
parent
89049b1de8
commit
4114bb7a36
|
|
@ -208,8 +208,6 @@ router.post("/api/gitea-webhook", ( req, res ) => {
|
||||||
// if (request.headers['x-gitlab-event'] === 'push') {
|
// if (request.headers['x-gitlab-event'] === 'push') {
|
||||||
// // Lấy dữ liệu sự kiện từ req.body
|
// // Lấy dữ liệu sự kiện từ req.body
|
||||||
// const eventData = req.body;
|
// const eventData = req.body;
|
||||||
|
|
||||||
// // Xử lý dữ liệu sự kiện ở đây
|
|
||||||
// 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));
|
||||||
// }
|
// }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue