#!/usr/bin/env bash
# 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
set -e
cd `dirname $0`
git pull
cd ..
rm -rf notes.alv.cx/*
notes2web.py -o notes.alv.cx notes
