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