From 282fe1fd44dda5e392b789d1be09b3faadf3e5c3 Mon Sep 17 00:00:00 2001 From: Ismail Akintunde Date: Tue, 23 Jul 2024 12:41:29 +0100 Subject: [PATCH] feat: updated deployment config --- dev-ecosystem-config.json | 20 ++++++++++---------- main-ecosystem-config.json | 20 ++++++++++---------- staging-ecosystem-config.json | 2 +- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/dev-ecosystem-config.json b/dev-ecosystem-config.json index 3a8c89958..d58492765 100644 --- a/dev-ecosystem-config.json +++ b/dev-ecosystem-config.json @@ -1,11 +1,11 @@ { - "apps": [ - { - "name": "team-alpha-dev", - "script": "npm run dev", - "log_file": "~/.pm2/logs/team-alpha-dev-out.log", - "combine_logs": true, - "log_date_format": "YYYY-MM-DD HH:mm:ss Z" - } - ] - } + "apps": [ + { + "name": "team-alpha-dev", + "script": "npm run start:prod", + "log_file": "~/.pm2/logs/team-alpha-dev-out.log", + "combine_logs": true, + "log_date_format": "YYYY-MM-DD HH:mm:ss Z" + } + ] +} \ No newline at end of file diff --git a/main-ecosystem-config.json b/main-ecosystem-config.json index 0fa1c403f..220d76794 100644 --- a/main-ecosystem-config.json +++ b/main-ecosystem-config.json @@ -1,11 +1,11 @@ { - "apps": [ - { - "name": "team-alpha-prod", - "script": "npm run dev", - "log_file": "~/.pm2/logs/team-alpha-prod-out.log", - "combine_logs": true, - "log_date_format": "YYYY-MM-DD HH:mm:ss Z" - } - ] - } + "apps": [ + { + "name": "team-alpha-prod", + "script": "npm run start:prod", + "log_file": "~/.pm2/logs/team-alpha-prod-out.log", + "combine_logs": true, + "log_date_format": "YYYY-MM-DD HH:mm:ss Z" + } + ] +} \ No newline at end of file diff --git a/staging-ecosystem-config.json b/staging-ecosystem-config.json index 5221f6390..d8fa81c86 100644 --- a/staging-ecosystem-config.json +++ b/staging-ecosystem-config.json @@ -2,7 +2,7 @@ "apps": [ { "name": "team-alpha-staging", - "script": "npm run dev", + "script": "npm run start:prod", "log_file": "~/.pm2/logs/team-alpha-staging-out.log", "combine_logs": true, "log_date_format": "YYYY-MM-DD HH:mm:ss Z"