fix: add default node_env variable
This commit is contained in:
parent
47979bf16d
commit
14201f4052
1 changed files with 2 additions and 2 deletions
|
|
@ -140,7 +140,7 @@ import * as buildpacks from '../lib/buildPacks';
|
|||
} catch (error) {
|
||||
//
|
||||
}
|
||||
const envs = [`PORT='${port}'`];
|
||||
const envs = [`PORT='${port}'`, 'NODE_ENV=production'];
|
||||
if (secrets.length > 0) {
|
||||
secrets.forEach((secret) => {
|
||||
if (pullmergeRequestId) {
|
||||
|
|
@ -710,7 +710,7 @@ import * as buildpacks from '../lib/buildPacks';
|
|||
} catch (error) {
|
||||
//
|
||||
}
|
||||
const envs = [`PORT='${port}'`];
|
||||
const envs = [`PORT='${port}'`, 'NODE_ENV=production'];
|
||||
if (secrets.length > 0) {
|
||||
secrets.forEach((secret) => {
|
||||
if (pullmergeRequestId) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue