add deployment script

This commit is contained in:
George Powell
2026-01-26 23:45:43 -05:00
parent e4b946ec8c
commit 860839fd75

18
deploy.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
set -e
cd "$(dirname "$0")"
echo "Pulling latest changes..."
git pull
echo "Installing dependencies..."
bun i
echo "Building..."
bun run build
echo "Restarting service..."
sudo systemctl restart bibdle
echo "Done!"