Skip to content

ci: migrate doc preview cleanup to centralized SciML caller#108

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:centralize-docs-preview-cleanup
Jun 7, 2026
Merged

ci: migrate doc preview cleanup to centralized SciML caller#108
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:centralize-docs-preview-cleanup

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Summary

Migrates the doc-preview-cleanup CI from the hand-rolled inline workflow to the centralized SciML caller.

  • Removes .github/workflows/DocCleanup.yml — the inline workflow that checked out the gh-pages branch, git rm -rf'd previews/PR$PRNUM, and force-pushed a squashed gh-pages-new:gh-pages to delete the preview and its history (the canonical Documenter.jl DocPreviewCleanup logic).
  • Adds .github/workflows/DocPreviewCleanup.yml calling SciML/.github/.github/workflows/docs-preview-cleanup.yml@v1 with secrets: 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

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>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 7, 2026 11:12
@ChrisRackauckas ChrisRackauckas merged commit c648220 into SciML:main Jun 7, 2026
4 of 9 checks passed
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