]> gitweb.fluxo.info Git - templates.git/commitdiff
Adds ikiwiki post-receive hook
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 8 Aug 2015 17:03:27 +0000 (14:03 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 8 Aug 2015 17:03:27 +0000 (14:03 -0300)
ikiwiki/bin/post-receive [new file with mode: 0755]

diff --git a/ikiwiki/bin/post-receive b/ikiwiki/bin/post-receive
new file mode 100755 (executable)
index 0000000..7411db5
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+cd ..
+unset GIT_DIR
+
+git checkout -f
+git submodule update --init