summaryrefslogtreecommitdiff
path: root/hooks/post-receive
blob: ecea9155e86fc4dc06949a0a6f0d4b9b9298e560 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

product=website
repo=/usr/local/git/pub/$product.git
web=~www/apache24/data

git --git-dir=$repo --work-tree=$web checkout -f master -- \
		index.html \
		7.2.1.54496.html \
	&& git --git-dir=$repo push -f