Reviewed-on: https://codeberg.org/lvl0/dish-planner/pulls/5 Co-authored-by: myrmidex <myrmidex@myrmidex.net> Co-committed-by: myrmidex <myrmidex@myrmidex.net>
16 lines
299 B
Bash
Executable file
16 lines
299 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
echo "🔄 Pulling latest changes..."
|
|
git pull origin main
|
|
|
|
echo "🔨 Installing dependencies..."
|
|
npm install
|
|
|
|
echo "🏗️ Building frontend..."
|
|
npm run build
|
|
|
|
echo "🔁 Restarting frontend service..."
|
|
sudo systemctl restart dishplanner-frontend
|
|
|
|
echo "✅ Update complete!"
|