mirror of
https://github.com/pupperpowell/bibdle.git
synced 2026-04-05 17:33:31 -04:00
Update deploy.sh
This commit is contained in:
@@ -3,6 +3,8 @@ set -e
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
BUN=$(which bun)
|
||||
|
||||
echo "Pulling latest changes..."
|
||||
PULL_OUTPUT=$(git pull)
|
||||
echo "$PULL_OUTPUT"
|
||||
@@ -12,10 +14,10 @@ if [ "$PULL_OUTPUT" = "Already up to date." ]; then
|
||||
fi
|
||||
|
||||
echo "Installing dependencies..."
|
||||
bun i
|
||||
$BUN i
|
||||
|
||||
echo "Building..."
|
||||
bun --bun run build
|
||||
$BUN --bun run build
|
||||
|
||||
SERVICE_NAME="$(basename "$(pwd)").service"
|
||||
echo "Restarting service ($SERVICE_NAME)..."
|
||||
|
||||
Reference in New Issue
Block a user