ci: fix port

This commit is contained in:
Nicola Zambello 2022-02-21 16:08:47 +01:00
parent 9de5b605b4
commit ea114a4418
2 changed files with 3 additions and 1 deletions

View file

@ -25,7 +25,7 @@ jobs:
- name: ⚒ Install and build
run: |
yarn install
yarn build
PORT=5001 yarn build
yarn prisma db push
- name: 🚀 Deploy

View file

@ -9,9 +9,11 @@ module.exports = {
max_memory_restart: "1G",
env: {
NODE_ENV: "production",
PORT: 5001,
},
env_production: {
NODE_ENV: "production",
PORT: 5001,
},
},
],