summaryrefslogtreecommitdiff
path: root/hooks/post-receive
blob: 79893363ef9310d1ce4a5fd9707c9d35be9a5123 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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.1.14.53684.html \
		7.1.15.53776.html \
	&& git --git-dir=$repo push -f