2
This commit is contained in:
parent
d3148c9290
commit
58f76adeb1
1
web.py
1
web.py
@ -61,6 +61,7 @@ class DispatchHandler(tornado.web.RequestHandler):
|
|||||||
branch = json.loads(self.request.body).get(
|
branch = json.loads(self.request.body).get(
|
||||||
'project', None).get('default_branch', None)
|
'project', None).get('default_branch', None)
|
||||||
if branch == "master":
|
if branch == "master":
|
||||||
|
print("stat deploy git with {name}!".format(name=name))
|
||||||
d = DeployGit(name)
|
d = DeployGit(name)
|
||||||
d.run()
|
d.run()
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user