Skip to content

Commit 9cd1bd1

Browse files
committed
paths maybe?
1 parent b7b3b2d commit 9cd1bd1

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/cd_dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
git checkout development
8181
git pull
8282
npm install
83-
pm2 start ecosystem.config.json --env development
83+
pm2 start ecosystem.config.json --env development --cwd .
8484
- name: Wait for service to be ready
8585
run: sleep 5
8686
- name: Run smoke tests

.github/workflows/cd_prod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
git checkout main
8181
git pull
8282
npm install
83-
pm2 start ecosystem.config.json --env production
83+
pm2 start ecosystem.config.json --env production --cwd .
8484
- name: Wait for service to be ready
8585
run: sleep 5
8686
- name: Run smoke tests

app.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ import privateProfileRouter from './userProfile/privateProfile.js'
2222
import proxyRouter from './utilities/proxy.js'
2323
import feedbackRouter from './feedback/feedbackRoutes.js'
2424
import dotenv from 'dotenv'
25-
// import dotenvExpand from 'dotenv-expand'
26-
dotenv.config()
27-
// dotenvExpand.expand(dotenv.config())
25+
import dotenvExpand from 'dotenv-expand'
26+
dotenvExpand.expand(dotenv.config())
2827

2928
let app = express()
3029

0 commit comments

Comments
 (0)