diff options
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/post-receive | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index 11b2a37..f3c5323 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -4,10 +4,8 @@ product=website repo=/usr/local/git/pub/$product.git web=~www/apache24/data -unset GIT_DIR -cd $HOME/$product \ - && git pull \ - && git --git-dir=$repo --work-tree=$web checkout -f master -- \ +git --git-dir=$repo --work-tree=$web checkout -f master -- \ index.html \ - 7.1.13.53452.html \ + 7.1.15.53776.html \ + 7.2.0.54160.html \ && git --git-dir=$repo push -f |