diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-12-02 14:17:39 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-12-02 14:17:39 +0800 |
commit | dbbfd7148a548eb21677913483e7d79698e03d2c (patch) | |
tree | b3f93a49c5471124bff12a8a0ac9edc598a65b4b /post-receive | |
parent | 6573bd24b06b7ef3b96bde9877a6be612fe3aaf9 (diff) |
Rename product to website & track the post-commit
and put the hooks in its own folder.
Diffstat (limited to 'post-receive')
-rwxr-xr-x | post-receive | 14 |
1 files changed, 0 insertions, 14 deletions
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 |