app/frontend/bin/update.sh
myrmidex e383de82a4 Improve style consistency (#5)
Reviewed-on: https://codeberg.org/lvl0/dish-planner/pulls/5
Co-authored-by: myrmidex <myrmidex@myrmidex.net>
Co-committed-by: myrmidex <myrmidex@myrmidex.net>
2025-10-13 17:39:00 +02:00

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