Document procedure for deploying changes to post-receive

(imported from commit 1207f02f74fe45581ea166234fa08e554f89722b)
This commit is contained in:
Keegan McAllister 2012-10-30 16:15:57 -04:00
parent b88f9b02d7
commit 1b54e41eb6
1 changed files with 6 additions and 2 deletions

View File

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