mirror of https://github.com/zulip/zulip.git
post-receive: Do deployments over ssh to app.humbughq.com.
(imported from commit cec99b18a7e686243e64d69d1882edc6354c5c9a)
This commit is contained in:
parent
456a2536d1
commit
1e60511bf6
|
@ -20,5 +20,6 @@ args = sys.stdin.read()
|
|||
oldrev, newrev, refname = args.split()
|
||||
|
||||
if refname in ["refs/heads/master", "refs/heads/test-post-receive"]:
|
||||
subprocess.check_call(["env", "-u", "GIT_DIR", "/home/humbug/humbug/tools/update-deployment",
|
||||
subprocess.check_call(["ssh", "app.humbughq.com", "--", "env", "-u", "GIT_DIR",
|
||||
"/home/humbug/humbug/tools/update-deployment",
|
||||
oldrev, newrev, refname])
|
||||
|
|
Loading…
Reference in New Issue