diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-05-04 11:20:09 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-05-04 11:22:42 +0800 |
commit | b8d5d579048456323a21755e26c72f9f933ac0c2 (patch) | |
tree | c10708628e0314be13594dab19d9d920bf63f7e0 /hooks/post-receive | |
parent | 4152499f7154b4b53fda7959de7a6b1281d63df8 (diff) |
Publish 7.1.14.53615
Diffstat (limited to 'hooks/post-receive')
-rwxr-xr-x | hooks/post-receive | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index f25f084..a641f24 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -1,15 +1,16 @@ #!/bin/sh +project=Megapahit product=website repo=/usr/local/git/pub/$product.git web=~www/apache24/data unset GIT_DIR -cd $HOME/$product \ +cd $HOME/Documents/$project/$product \ && git pull \ && git --git-dir=$repo --work-tree=$web checkout -f master -- \ index.html \ 7.1.13.53452.html \ - 7.1.13.53573.html \ + 7.1.14.53615.html \ 7.1.13.53691.html \ && git --git-dir=$repo push -f |