media/hooks/post-update

7 lines
93 B
Bash
Executable File

#!/bin/sh
cd /var/www/media.metanohi.name
unset GIT_DIR
git pull
./scripts/generate-site.sh