fix: update PM2 restart process to use a dedicated deployment script

This commit is contained in:
2025-06-09 18:06:32 -03:00
parent 48686a741f
commit 390c2cb129

View File

@@ -67,8 +67,5 @@ jobs:
env: env:
DEPLOY_PATH: ${{ vars.DEPLOY_PATH }} DEPLOY_PATH: ${{ vars.DEPLOY_PATH }}
run: | run: |
echo "Restarting applications with PM2..." restart-application
pm2 startOrRestart backend/ecosystem.config.js --update-env
pm2 startOrRestart frontend/ecosystem.config.js
echo "Deployment successful!"