From 4cace2f42208bc54298894d4bc0988b165bd73da Mon Sep 17 00:00:00 2001 From: Ahmed Date: Sun, 14 Jun 2026 16:39:16 +0300 Subject: add: hooks, documentation, and other vibed edits --- hooks/post-receive | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hooks/post-receive (limited to 'hooks/post-receive') diff --git a/hooks/post-receive b/hooks/post-receive new file mode 100644 index 0000000..b3164b0 --- /dev/null +++ b/hooks/post-receive @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +WORK=/home/git/build/irc-bots +OUT=/home/git/build/irc-bots-out +python3 "$WORK/scripts/gen_bots.py" "$WORK" "$OUT" +rsync -rlptD --delete "$OUT/" /var/www/irc.gumx.cc/bots/ +echo "irc-bots deployed" -- cgit v1.2.3