fix: add default node_env variable
This commit is contained in:
parent
47979bf16d
commit
14201f4052
@ -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…
x
Reference in New Issue
Block a user