From: Silvio Rhatto Date: Sat, 8 Aug 2015 17:03:27 +0000 (-0300) Subject: Adds ikiwiki post-receive hook X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d18d55d0c42c2e12739ff96627a28d34955fe83e;p=templates.git Adds ikiwiki post-receive hook --- diff --git a/ikiwiki/bin/post-receive b/ikiwiki/bin/post-receive new file mode 100755 index 0000000..7411db5 --- /dev/null +++ b/ikiwiki/bin/post-receive @@ -0,0 +1,7 @@ +#!/bin/sh + +cd .. +unset GIT_DIR + +git checkout -f +git submodule update --init