diff options
Diffstat (limited to 'hooks/post-receive')
-rwxr-xr-x | hooks/post-receive | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index f4b8547..f3c5323 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -4,11 +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.12.53252.html \ - 7.1.13.53431.html \ + 7.1.15.53776.html \ + 7.2.0.54160.html \ && git --git-dir=$repo push -f |