diff options
Diffstat (limited to 'hooks/post-receive')
-rwxr-xr-x | hooks/post-receive | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index a641f24..f1f6d78 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -1,16 +1,12 @@ #!/bin/sh -project=Megapahit product=website repo=/usr/local/git/pub/$product.git web=~www/apache24/data -unset GIT_DIR -cd $HOME/Documents/$project/$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.14.53615.html \ - 7.1.13.53691.html \ + 7.1.13.53713.html \ && git --git-dir=$repo push -f |