mirror of https://github.com/zulip/zulip.git
post-receive: Deploy to the new server
Eventually this should go to the staging server, and we'll have a separate process to migrate changes from there to production. (imported from commit 2a712758844524fdf2f23f798baf6b607d056b9a)
This commit is contained in:
parent
c1171c9832
commit
6ab646cd53
|
@ -38,7 +38,7 @@ def check_output(*popenargs, **kwargs):
|
|||
subprocess.check_output = check_output
|
||||
|
||||
def update_deployment(oldrev, newrev, refname):
|
||||
subprocess.check_call(["ssh", "app.humbughq.com", "--", "env", "-u", "GIT_DIR",
|
||||
subprocess.check_call(["ssh", "humbughq.com", "--", "env", "-u", "GIT_DIR",
|
||||
"/home/humbug/humbug/tools/update-deployment",
|
||||
oldrev, newrev, refname])
|
||||
|
||||
|
|
Loading…
Reference in New Issue