Skip to content

Migrate DocPreviewCleanup to centralized SciML caller#222

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

Migrate DocPreviewCleanup to centralized SciML caller#222
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:centralize-docs-preview-cleanup

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Note

Please ignore this PR until it has been reviewed by @ChrisRackauckas.

Summary

Migrates the doc preview cleanup workflow from the hand-rolled inline implementation to the centralized reusable workflow in SciML/.github.

The inline .github/workflows/DocPreviewCleanup.yml previously contained custom logic that checks out the gh-pages branch, deletes previews/PR$PRNUM, squashes the history, and force-pushes back to gh-pages (standard Documenter doc-preview cleanup). This is replaced by a thin caller of the centralized reusable workflow SciML/.github/.github/workflows/docs-preview-cleanup.yml@v1, which performs the equivalent cleanup. This is a true behavioral replacement.

Changes

  • Replace the inline DocPreviewCleanup.yml with a caller of SciML/.github/.github/workflows/docs-preview-cleanup.yml@v1 (secrets: inherit, permissions: contents: write).

This is a draft PR; please ignore until reviewed by @ChrisRackauckas.

🤖 Generated with Claude Code

Replace the hand-rolled inline gh-pages doc-preview cleanup workflow with
the centralized reusable workflow SciML/.github/.github/workflows/docs-preview-cleanup.yml@v1.

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 8fc18b4 into SciML:main Jun 7, 2026
11 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