diff options
Diffstat (limited to 'hooks/post-receive')
-rwxr-xr-x | hooks/post-receive | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index b73047a..a473bc6 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.11.53092.html \ - && git --git-dir=$repo push + 7.2.1.54496.html \ + 7.2.2.54566.html \ + && git --git-dir=$repo push -f |