Skip to content

docs: add documentation for wrangler pages deployment delete command#28200

Open
petebacondarwin wants to merge 4 commits intoproductionfrom
devin/1770624774-pages-deployment-delete-docs
Open

docs: add documentation for wrangler pages deployment delete command#28200
petebacondarwin wants to merge 4 commits intoproductionfrom
devin/1770624774-pages-deployment-delete-docs

Conversation

@petebacondarwin
Copy link
Copy Markdown
Contributor

@petebacondarwin petebacondarwin commented Feb 9, 2026

Summary

Documents the new wrangler pages deployment delete CLI command being added in cloudflare/workers-sdk#12474. Changes across three Pages docs pages:

  • preview-deployments.mdx: Adds a new "Delete preview deployments" section with CLI usage and --force flag.
  • api.mdx: Adds a note callout in the "Deleting old deployments after a week" section pointing to the CLI alternative.
  • known-issues.mdx: Replaces the old zip-file-based bulk deletion workaround with the new wrangler pages deployment delete command.

⚠️ Items for reviewer attention

  1. Anchor link /workers/wrangler/commands/#deployment-delete — The Wrangler commands page auto-generates from the installed wrangler package via WranglerNamespace. This anchor won't resolve until the wrangler dependency in this repo is bumped to include the new command. Confirm this is acceptable to merge ahead of the version bump, or if it should be held.
  2. known-issues.mdx: removal of bulk deletion script — The old workaround included a downloadable script that could delete all deployments at once (with options for aliased deployments). The replacement only documents deleting one deployment at a time. For users with 100+ deployments, this is more tedious. Consider whether the old instructions should be retained alongside the new CLI command.

Link to Devin run | Requested by @petebacondarwin

Documentation checklist


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
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/pages/ @cloudflare/workers-docs, @GregBrimble, @WalshyDev, @aninibread, @irvinebroque, @cloudflare/pcx-technical-writing, @cloudflare/product-owners

@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).

@github-actions github-actions bot added the stale label Apr 17, 2026
Comment thread src/content/docs/pages/platform/known-issues.mdx Outdated
Comment thread src/content/docs/pages/configuration/preview-deployments.mdx Outdated
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 2 additional findings.

Open in Devin Review

@petebacondarwin petebacondarwin force-pushed the devin/1770624774-pages-deployment-delete-docs branch from 7844983 to d8a4973 Compare April 17, 2026 16:18
devin-ai-integration[bot]

This comment was marked as resolved.

@petebacondarwin petebacondarwin force-pushed the devin/1770624774-pages-deployment-delete-docs branch from bc443cf to 3638177 Compare April 17, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants