Skip to content

docs: add -e production flag to wrangler secret put commands#149

Merged
mahata merged 2 commits intomainfrom
fix/wrangler-secret-env-flag
Mar 27, 2026
Merged

docs: add -e production flag to wrangler secret put commands#149
mahata merged 2 commits intomainfrom
fix/wrangler-secret-env-flag

Conversation

@mahata
Copy link
Copy Markdown
Owner

@mahata mahata commented Mar 27, 2026

Summary

  • Add -e production flag to the four wrangler secret put commands in the deployment section of README.md
  • Without this flag, Wrangler emits a warning because wrangler.toml defines multiple environments (top-level and [env.production]) and it cannot determine which to target

Copilot AI review requested due to automatic review settings March 27, 2026 13:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the deployment documentation to explicitly target the production Wrangler environment when setting secrets, aligning with a multi-environment wrangler.toml.

Changes:

  • Add an environment selection flag to the four wrangler secret put commands in the README deploy instructions.

Comment thread README.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mahata mahata merged commit 60c3582 into main Mar 27, 2026
3 checks passed
@mahata mahata deleted the fix/wrangler-secret-env-flag branch March 27, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants