overte-api/deploy.sh

14 lines
175 B
Bash
Raw Normal View History

2026-03-18 06:40:09 +00:00
#!/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."