From 83190a1992af110324ebfb4accf2071ecf9746db Mon Sep 17 00:00:00 2001 From: "Niels G. W. Serup" Date: Thu, 25 Aug 2016 02:10:30 +0200 Subject: [PATCH] Add hook. --- 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..42d6a8e --- /dev/null +++ b/hooks/post-update @@ -0,0 +1,6 @@ +#!/bin/sh + +cd /home/niels/prog/media +unset GIT_DIR +git pull +./scripts/generate_site.sh