mirror of
https://github.com/pupperpowell/bibdle.git
synced 2026-04-05 17:33:31 -04:00
updated deploy script
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
echo "Pulling latest changes..."
|
||||
git pull
|
||||
|
||||
echo "Installing dependencies..."
|
||||
bun i
|
||||
|
||||
echo "Pushing database changes..."
|
||||
bun run db:generate
|
||||
bun run db:migrate
|
||||
|
||||
echo "Building..."
|
||||
bun --bun run build
|
||||
|
||||
echo "Restarting service..."
|
||||
sudo systemctl restart bibdle-test
|
||||
|
||||
echo "Done!"
|
||||
Reference in New Issue
Block a user