diff --git a/gohookr.sh b/gohookr.sh new file mode 100755 index 0000000..8d62f03 --- /dev/null +++ b/gohookr.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# this is a script that is used by gohookr (git.alra.uk/alvierahman90/gohookr) to automatically +# update notes.alra.uk when i push a change +set -e +cd `dirname $0` +cd notes +git pull +cd .. +notes2web.py -o notes.alra.uk notes