diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-05-04 14:03:56 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-05-04 14:04:36 +0800 |
commit | 5b9cb2de4f73cb42d7e11552c7cc45e43501872e (patch) | |
tree | 96c3e74dca2b60e7902ca173689a64341e573c8f /hooks | |
parent | b8d5d579048456323a21755e26c72f9f933ac0c2 (diff) |
2025.05 7.1.13.53713 change log
Diffstat (limited to 'hooks')
-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 |