prod broken
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m38s
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m38s
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user