media/hooks/post-update

7 lines
87 B
Bash
Executable File

#!/bin/sh
cd /home/niels/prog/media
unset GIT_DIR
git pull
./scripts/generate_site.sh