#!/bin/bash # Navigate to the project directory cd /path/to/your/project # Pull the latest changes git pull # Install dependencies npm install # Build the project npm run build # Optional: Restart your web server if needed # systemctl restart nginx