Skip to content

ci(docs): add manual workflow to purge preview deployments#130

Merged
dcmcand merged 1 commit into
mainfrom
ci/manual-preview-purge
Jul 7, 2026
Merged

ci(docs): add manual workflow to purge preview deployments#130
dcmcand merged 1 commit into
mainfrom
ci/manual-preview-purge

Conversation

@dcmcand

@dcmcand dcmcand commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

On-demand workflow_dispatch to delete Cloudflare Pages preview deployments. Empty branch input purges all previews (to clear orphans left by the earlier per_page cleanup failures); a branch name targets just that branch. Same paged, per_page-free deletion logic as the per-PR cleanup, verified locally against mocked API responses (both modes). Needed to manually clean up the previews left behind by the cleanup failures on #120/#126/#127/#128.

Adds a workflow_dispatch job to delete Cloudflare Pages preview
deployments on demand: leave `branch` empty to purge every preview
(useful for clearing orphans left by the earlier per_page cleanup
failures) or set it to target a single branch. Reuses the same paged,
per_page-free deletion approach as the per-PR cleanup.
@dcmcand dcmcand merged commit 5155151 into main Jul 7, 2026
6 checks passed
@dcmcand dcmcand deleted the ci/manual-preview-purge branch July 7, 2026 09:00
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.

1 participant