diff --git a/web.py b/web.py index bdddec4..76c6f49 100644 --- a/web.py +++ b/web.py @@ -46,9 +46,9 @@ class DispatchHandler(tornado.web.RequestHandler): @gen.coroutine def post(self): - # pdb.set_trace() data = json.loads(self.request.body) - if data.get('event_name', None) == 'push': + print(data) + if data.get('event_name', None) == 'tag_push': yield self._git_webhook() else: self.write("pls check args!")