summaryrefslogtreecommitdiffstats
path: root/roles/wiki/templates/post-update.h00-ikiwiki-wrapper
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xroles/wiki/templates/post-update.h00-ikiwiki-wrapper6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/wiki/templates/post-update.h00-ikiwiki-wrapper b/roles/wiki/templates/post-update.h00-ikiwiki-wrapper
new file mode 100755
index 0000000..684ac28
--- /dev/null
+++ b/roles/wiki/templates/post-update.h00-ikiwiki-wrapper
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# bring the mirror up to date with this repo
+cd "{{ ikiwiki_src_dir }}"
+git fetch --prune
+exec {{ ikiwiki_path }}/hooks/emacsconf