Skip to content

docs: document WRANGLER_COMMAND environment variable for custom builds#28207

Merged
MattieTK merged 1 commit intoproductionfrom
devin/1770634867-wrangler-command-env-var
Apr 20, 2026
Merged

docs: document WRANGLER_COMMAND environment variable for custom builds#28207
MattieTK merged 1 commit intoproductionfrom
devin/1770634867-wrangler-command-env-var

Conversation

@petebacondarwin
Copy link
Copy Markdown
Contributor

@petebacondarwin petebacondarwin commented Feb 9, 2026

Summary

Documents the new WRANGLER_COMMAND environment variable added to Wrangler's custom build commands in cloudflare/workers-sdk#12470.

Adds a new section to the Custom builds page covering:

  • What WRANGLER_COMMAND is and when it's set
  • Table of possible values (dev, deploy, versions upload, types)
  • Example bash script showing how to branch build logic based on the variable

Things for reviewers to verify

  • The table of WRANGLER_COMMAND values matches the implementation in workers-sdk#12470
  • Whether the Configuration page's Custom builds section should also mention this env var (currently it just links to the custom-builds page)
  • Whether a changelog entry is needed for this addition

Link to Devin run: https://app.devin.ai/sessions/83e0c23d36b74427afe8df40388591db
Requested by: @petebacondarwin

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
  • The change adheres to the documentation style guide.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

Open with Devin

@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@github-actions github-actions Bot added product:workers Related to Workers product size/s labels Feb 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 9, 2026

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/workers/wrangler/ @cloudflare/wrangler, @irvinebroque, @cloudflare/pcx-technical-writing, @cloudflare/product-owners

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 9, 2026

@github-actions
Copy link
Copy Markdown
Contributor

Hey there, we've marked this pull request as stale because there's no recent activity on it. This label is helps us identify PRs that might need updates (or to be closed out by our team if no longer relevant).

@github-actions github-actions Bot added the stale label Feb 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Hey there, we've closed out this pull request because it's been stale for a while and there's been no additional action on it. If these changes are still relevant, open a new pull request (or flag to us in a GitHub issue).

@github-actions
Copy link
Copy Markdown
Contributor

Hey there, we've marked this pull request as stale because there's no recent activity on it. This label helps us identify PRs that might need updates (or to be closed out by our team if no longer relevant).

@petebacondarwin
Copy link
Copy Markdown
Contributor Author

Not stale - waiting for review

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
@petebacondarwin petebacondarwin force-pushed the devin/1770634867-wrangler-command-env-var branch from 12a5666 to f2a0f1b Compare April 17, 2026 22:05
@MattieTK MattieTK enabled auto-merge (squash) April 20, 2026 12:05
@MattieTK MattieTK merged commit ed2e94d into production Apr 20, 2026
13 checks passed
@MattieTK MattieTK deleted the devin/1770634867-wrangler-command-env-var branch April 20, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants