mirror of https://github.com/zulip/zulip.git
post-receive: Send the bot message before killing the server
Otherwise the server isn't running when we try to send. (imported from commit a5ed6ef2111d426c44914c607444dc09b2e33b59)
This commit is contained in:
parent
be8404e101
commit
d0db047035
|
@ -88,5 +88,5 @@ def send_bot_message(oldrev, newrev, refname):
|
|||
for ln in sys.stdin:
|
||||
oldrev, newrev, refname = ln.strip().split()
|
||||
if refname in ["refs/heads/master", "refs/heads/test-post-receive"]:
|
||||
update_deployment(oldrev, newrev, refname)
|
||||
send_bot_message(oldrev, newrev, refname)
|
||||
update_deployment(oldrev, newrev, refname)
|
||||
|
|
Loading…
Reference in New Issue