Deploy Script
#!/bin/bash
cd /var/www/app
git pull origin main
npm ci && npm run build
sudo systemctl restart appintermediateDevelopmentUpdated 2024-12-15
- deploy
- git
- build
- restart
- automation
Automated Git pull, build, and service restart.
#!/bin/bash
cd /var/www/app
git pull origin main
npm ci && npm run build
sudo systemctl restart appWe use cookies for essential site function and — with your consent — anonymous analytics. See our Cookie Policy.