notes/gohookr.sh
2024-01-02 19:04:05 +00:00

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