diff --git a/tools/post-receive b/tools/post-receive index 2aad6200eb..dda2ba4282 100755 --- a/tools/post-receive +++ b/tools/post-receive @@ -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])