Add gohookr script

This commit is contained in:
Akbar Rahman 2021-07-29 12:01:32 +01:00
parent c07eb0b9f9
commit 9b1a946c69

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