Skip to content

Commit

Permalink
Merge pull request #17 from cepdnaclk/feature-DoctorDashboard
Browse files Browse the repository at this point in the history
change mail.yml
  • Loading branch information
tgcjananga authored Mar 2, 2025
2 parents 6797617 + 5ac2512 commit 6088fde
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ jobs:
# Navigate to backend location
cd /www/wwwroot/vescueye.work.gd/code/backend
# Install dependencies
npm install
# Debugging: List files in the backend directory
ls -la
# Restart backend with PM2 (or start if not running)
pm2 restart vescueye-backend || pm2 start server.js --name vescueye-backend
# Install dependencies and restart backend with PM2
pm2 restart vescueye-backend || (npm install && pm2 start server.js --name vescueye-backend)
# Save PM2 process & ensure it restarts on reboot
pm2 save
Expand Down

0 comments on commit 6088fde

Please sign in to comment.