blog/update.sh
2020-03-13 04:43:18 +01:00

11 lines
140 B
Bash
Executable file

#!/bin/bash
git pull
find src -iname '*.sh' | while read -r __file; do
time ./${1}
done
HUGO_ENV=production hugo --gc --minify
exit