Skip to content

Commit

Permalink
fix copy/paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Aug 10, 2023
1 parent f1d8c4f commit 1eb1230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export class GDF {
if (this.postgres) env.DB_CONNECTION = 'pg'
}

return { ...this.options.vars.build, ...env }
return { ...this.options.vars.deploy, ...env }
}

emitEnv(env) {
Expand Down
2 changes: 1 addition & 1 deletion test/base/envargs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ ARG A3=xxx

# Start the server by default, this can be overwritten at runtime
EXPOSE 3000
ENV E2="V2"
ENV E3="V3"
CMD [ "npm", "run", "start" ]

0 comments on commit 1eb1230

Please sign in to comment.