aboutsummaryrefslogtreecommitdiffstats
path: root/hooks/post-receive
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/post-receive')
-rw-r--r--hooks/post-receive6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/post-receive b/hooks/post-receive
new file mode 100644
index 0000000..64026a7
--- /dev/null
+++ b/hooks/post-receive
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+cd /home/git/build/webring
+bash wr build
+rsync -rlptD --delete public/ /var/www/webring.gumx.cc/
+echo "webring deployed"