fix: interpreter to use pm2
This commit is contained in:
+3
-2
@@ -4,6 +4,7 @@ module.exports = {
|
|||||||
name: process.env.APP_NAME || 'entgamers-website',
|
name: process.env.APP_NAME || 'entgamers-website',
|
||||||
script: 'bun',
|
script: 'bun',
|
||||||
args: 'start',
|
args: 'start',
|
||||||
|
interpreter: '~/.bun/bin/bun',
|
||||||
env: {
|
env: {
|
||||||
NODE_ENV: 'production',
|
NODE_ENV: 'production',
|
||||||
PORT: process.env.PORT || 3000,
|
PORT: process.env.PORT || 3000,
|
||||||
@@ -19,7 +20,7 @@ module.exports = {
|
|||||||
ref: 'origin/production',
|
ref: 'origin/production',
|
||||||
repo: 'https://github.com/SrJuggernaut/entgamers_pro',
|
repo: 'https://github.com/SrJuggernaut/entgamers_pro',
|
||||||
path: process.env.DEPLOY_PATH,
|
path: process.env.DEPLOY_PATH,
|
||||||
'post-deploy': 'pm2 startOrRestart --interpreter bun ecosystem.config.js',
|
'post-deploy': 'pm2 startOrRestart --interpreter ~/.bun/bin/bun ecosystem.config.js',
|
||||||
env: {
|
env: {
|
||||||
APP_NAME: process.env.APP_NAME,
|
APP_NAME: process.env.APP_NAME,
|
||||||
PORT: process.env.PORT,
|
PORT: process.env.PORT,
|
||||||
@@ -33,7 +34,7 @@ module.exports = {
|
|||||||
ref: 'origin/preview',
|
ref: 'origin/preview',
|
||||||
repo: 'https://github.com/SrJuggernaut/entgamers_pro',
|
repo: 'https://github.com/SrJuggernaut/entgamers_pro',
|
||||||
path: process.env.DEPLOY_PATH,
|
path: process.env.DEPLOY_PATH,
|
||||||
'post-deploy': 'pm2 startOrRestart --interpreter bun ecosystem.config.js',
|
'post-deploy': 'pm2 startOrRestart --interpreter ~/.bun/bin/bun ecosystem.config.js',
|
||||||
env: {
|
env: {
|
||||||
APP_NAME: process.env.APP_NAME,
|
APP_NAME: process.env.APP_NAME,
|
||||||
PORT: process.env.PORT,
|
PORT: process.env.PORT,
|
||||||
|
|||||||
Reference in New Issue
Block a user