From dbbfd7148a548eb21677913483e7d79698e03d2c Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Mon, 2 Dec 2024 14:17:39 +0800 Subject: Rename product to website & track the post-commit and put the hooks in its own folder. --- post-receive | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 post-receive (limited to 'post-receive') diff --git a/post-receive b/post-receive deleted file mode 100755 index 45df983..0000000 --- a/post-receive +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -product=web -repo=/usr/local/git/pub/$product.git -#web=$HOME/public_html -web=~www/apache24/data - -unset GIT_DIR -cd $HOME/$product \ - && git pull \ - && git --git-dir=$repo --work-tree=$web checkout -f master -- \ - index.html \ - 7.1.11.53043.html \ - && git --git-dir=$repo push -- cgit v1.2.3