prod broken
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m3s
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m3s
This commit is contained in:
@@ -128,4 +128,11 @@ jobs:
|
||||
# It will START the process if it's not running, or RELOAD it if it is.
|
||||
# We also add `&& pm2 save` to persist the process list across server reboots.
|
||||
pm2 startOrReload ecosystem.config.cjs --env production && pm2 save
|
||||
echo "Backend server reloaded successfully."
|
||||
echo "Backend server reloaded successfully."
|
||||
|
||||
- name: Show PM2 Environment for Production
|
||||
run: |
|
||||
echo "--- PM2 Environment for flyer-crawler-app ---"
|
||||
# This command inspects the running process and shows its environment variables.
|
||||
# It helps verify that the correct .env file or ecosystem variables are being used.
|
||||
pm2 describe flyer-crawler-app | grep -E 'DB_DATABASE|DB_NAME|DB_USER|DB_HOST' || echo "Could not find process or DB variables."
|
||||
Reference in New Issue
Block a user