notes/gohookr.sh

10 lines
253 B
Bash
Raw Normal View History

2021-07-29 11:01:32 +00:00
#!/usr/bin/env bash
2021-08-04 21:35:33 +00:00
# this is a script that is used by gohookr (git.alv.cx/alvierahman90/gohookr) to automatically
# update notes.alv.cx when i push a change
2021-07-29 11:01:32 +00:00
set -e
cd `dirname $0`
git pull
cd ..
rm -rf notes.alv.cx/*
2021-08-04 21:35:33 +00:00
notes2web.py -o notes.alv.cx notes