Add gohookr script

This commit is contained in:
Akbar Rahman 2021-07-29 12:01:32 +01:00
parent 4d9cde4339
commit 688762a9c5
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

9
gohookr.sh Executable file
View File

@ -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