ci: migrate doc preview cleanup to centralized SciML caller#108
Merged
ChrisRackauckas merged 1 commit intoJun 7, 2026
Merged
Conversation
Replace the hand-rolled inline DocCleanup.yml (which checked out gh-pages and force-pushed to delete previews/PR$PRNUM) with the centralized SciML/.github docs-preview-cleanup.yml@v1 caller workflow. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates the doc-preview-cleanup CI from the hand-rolled inline workflow to the centralized SciML caller.
.github/workflows/DocCleanup.yml— the inline workflow that checked out thegh-pagesbranch,git rm -rf'dpreviews/PR$PRNUM, and force-pushed a squashedgh-pages-new:gh-pagesto delete the preview and its history (the canonical Documenter.jl DocPreviewCleanup logic)..github/workflows/DocPreviewCleanup.ymlcallingSciML/.github/.github/workflows/docs-preview-cleanup.yml@v1withsecrets: inherit.The central caller is a true behavioral replacement: it performs the same Documenter gh-pages preview deletion on PR close, just maintained centrally.
Notes
Please ignore until reviewed by @ChrisRackauckas.
🤖 Generated with Claude Code