fix(admin): make /admin a top-level route and add Maven compile to deploy.sh
Some checks failed
Deploy RIT Freshers Hub to VPS / Deploy to Live VPS (push) Has been cancelled

This commit is contained in:
Shanmuga Krishnan S M
2026-08-07 14:08:34 +05:30
parent f714519373
commit 8cc1580dfa
2 changed files with 8 additions and 3 deletions

View File

@@ -43,11 +43,14 @@ If your VPS uses the Webhook endpoint (`http://129.121.126.66:9000/hooks/deploy`
(
cd /var/www/freshers-hub
# 1. Pull latest code
# 1. Pull latest code from main
git pull origin main
# 2. Rebuild & Restart services
# 2. Rebuild Spring Boot Java Backend & Vite Frontend
cd backend && ./mvnw clean package -DskipTests && cd ..
npm run build
# 3. Restart Microservices
systemctl restart springboot chatbot telegram-bot nginx
# 3. 📧 Send Email Report Notification (sent AFTER build & restart finish!)