From 1b54e41eb6ebcd21634880122319fd77584a4b00 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Tue, 30 Oct 2012 16:15:57 -0400 Subject: [PATCH] Document procedure for deploying changes to post-receive (imported from commit 1207f02f74fe45581ea166234fa08e554f89722b) --- tools/post-receive | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/post-receive b/tools/post-receive index de99a95bde..0052f650fb 100755 --- a/tools/post-receive +++ b/tools/post-receive @@ -1,7 +1,11 @@ #!/usr/bin/python # -# Humbug's post-receive hook. Deploy it by symlinking it to -# /srv/git/humbug.git/hooks/post-receive +# Humbug's post-receive hook. There is a symlink +# from /srv/git/humbug.git/hooks/post-receive +# to ~humbug/humbug/tools/post-receive +# on git.humbughq.com. So to deploy changes to this script, run +# +# ssh humbug@git.humbughq.com 'cd humbug; git pull' # # The "post-receive" script is run after receive-pack has accepted a pack # and the repository has been updated. It is passed arguments in through