diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..b5e5bc7 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +echo "Pulling latest..." +git pull + +echo "Building..." +go build -o overte-api . + +echo "Restarting service..." +sudo systemctl restart overte-api + +echo "Done."