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:
Keegan McAllister 2012-10-27 11:39:03 -04:00
parent c1171c9832
commit 6ab646cd53
1 changed files with 1 additions and 1 deletions

View File

@ -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])