mirror of
https://github.com/pupperpowell/bibdle.git
synced 2026-02-04 10:54:44 -05:00
19 lines
233 B
Bash
Executable File
19 lines
233 B
Bash
Executable File
#!/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!"
|