Skip to content

Commit

Permalink
Fix: honor --prod flag when using --env-file or --env flags
Browse files Browse the repository at this point in the history
  • Loading branch information
arnauorriols committed Jan 22, 2025
1 parent 873e36e commit 6d25e63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/subcommands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ async function deploy(opts: DeployOpts): Promise<void> {
deploySpinner!.text = "Setting environment variables...";
// Hack while Deno Deploy implements settings env variables during deployment_with_assets
const redeployed = await api.redeployDeployment(event.id, {
prod: opts.prod,
env_vars: opts.envVars,
});
// NULL SAFETY: deployment was just created
Expand Down

0 comments on commit 6d25e63

Please sign in to comment.