Skip to content

Commit 484fd07

Browse files
committed
deployment bug fixes
1 parent 9dad0d4 commit 484fd07

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
File renamed without changes.

scripts/deploy.sh

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ echo "Building application..."
6060
npm run build
6161

6262
# Determine ecosystem config file
63-
if [ "$ENVIRONMENT" == "staging" ] && [ -f "ecosystem.staging.config.js" ]; then
63+
if [ "$ENVIRONMENT" == "staging" ] && [ -f "ecosystem.staging.config.cjs" ]; then
64+
ECOSYSTEM_FILE="ecosystem.staging.config.cjs"
65+
elif [ "$ENVIRONMENT" == "staging" ] && [ -f "ecosystem.staging.config.js" ]; then
6466
ECOSYSTEM_FILE="ecosystem.staging.config.js"
6567
else
6668
ECOSYSTEM_FILE="ecosystem.config.js"

0 commit comments

Comments
 (0)