deploy to test fix

This commit is contained in:
2025-12-24 09:39:49 -08:00
parent 11c52d284c
commit 612c2b5943
3 changed files with 28 additions and 4 deletions

View File

@@ -360,7 +360,7 @@ jobs:
echo "Installing production dependencies and restarting test server..."
cd /var/www/flyer-crawler-test.projectium.com
npm install --omit=dev # Install only production dependencies
npm install --omit=dev
# Use `startOrReload` with the ecosystem file. This is the standard, idempotent way to deploy.
# 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.