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 ..
|
2021-08-24 11:42:34 +00:00
|
|
|
rm -rf notes.alv.cx/*
|
2021-08-04 21:35:33 +00:00
|
|
|
notes2web.py -o notes.alv.cx notes
|