Files
notes/gohookr.sh

14 lines
273 B
Bash
Executable File

#!/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 -ex
cd `dirname $0`
git pull
cd ..
rm -rf notes.alv.cx/*
cd /root/gronk
git pull
docker compose up --build