From b8d5d579048456323a21755e26c72f9f933ac0c2 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sun, 4 May 2025 11:20:09 +0800 Subject: Publish 7.1.14.53615 --- hooks/post-receive | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hooks') 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 -- cgit v1.2.3