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 - name: ⚒ Install and build
run: | run: |
yarn install yarn install
yarn build PORT=5001 yarn build
yarn prisma db push yarn prisma db push
- name: 🚀 Deploy - name: 🚀 Deploy

View file

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