Add hook.

This commit is contained in:
Niels G. W. Serup 2016-08-25 02:10:30 +02:00
parent 96de50de15
commit 83190a1992
1 changed files with 6 additions and 0 deletions

6
hooks/post-update Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
cd /home/niels/prog/media
unset GIT_DIR
git pull
./scripts/generate_site.sh