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!"
|