From 815ba99969bae9a488c12274439e3cff842b2fcb Mon Sep 17 00:00:00 2001 From: "Niels G. W. Serup" Date: Fri, 26 Aug 2016 15:29:46 +0200 Subject: [PATCH] This hook is probably sufficient. --- hooks/post-update | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 hooks/post-update diff --git a/hooks/post-update b/hooks/post-update new file mode 100755 index 0000000..69434f7 --- /dev/null +++ b/hooks/post-update @@ -0,0 +1,6 @@ +#!/bin/sh + +cd /var/www/metanohi.name +unset GIT_DIR +git pull +./scripts/transform-site.sh