prod broken
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m38s

This commit is contained in:
2025-11-22 18:53:21 -08:00
parent dd8fa2a6c4
commit 1d00ab2e5d

View File

@@ -10,8 +10,8 @@ module.exports = {
cwd: '/var/www/flyer-crawler.projectium.com',
// Use `tsx` directly as the interpreter. PM2 will find it in node_modules/.bin.
// This is more robust than calling `node` on the script path.
script: 'tsx',
args: '--env-file .env server.ts',
script: './node_modules/.bin/tsx',
args: '--env-file=.env server.ts',
env_production: {
NODE_ENV: 'production', // Set the Node.js environment to production
},