aboutsummaryrefslogtreecommitdiff
path: root/post-recieve
diff options
context:
space:
mode:
authorTrey Bastian <hello@treybastian.com>2025-10-28 09:59:27 +0000
committerTrey Bastian <hello@treybastian.com>2025-10-28 09:59:27 +0000
commit6990b3363a11931a44ca07341ecbe3b7b495cc9e (patch)
tree837281a46e768be096f5440f56916fac9aa3f44e /post-recieve
parentf9ea6343576e435ddd92568c107609993e78d2ee (diff)
testing out post-recieve
Diffstat (limited to 'post-recieve')
-rw-r--r--post-recieve1
1 files changed, 1 insertions, 0 deletions
diff --git a/post-recieve b/post-recieve
index 3431765..ce604a0 100644
--- a/post-recieve
+++ b/post-recieve
@@ -10,6 +10,7 @@ KNOT_FILE="$REPO_PATH/knot.conf"
LOGFILE="/var/log/knot-sync.log" #log our syncing isssues
if [ ! -f "$KNOT_FILE" ]; then
+ echo "[$(date)] $REPO_PATH: knot.conf not found, skipping", >> "$LOGFILE"
exit 0
fi
REPO_URL=$(cat "$KNOT_FILE" | tr -d '\n' | xargs)