Skip to content

Migrate docs preview cleanup to centralized SciML caller#24

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

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

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Please ignore until reviewed by @ChrisRackauckas.

What this does

Migrates the docs-preview-cleanup workflow from the hand-rolled inline implementation to the centralized SciML caller.

  • Removes the inline `.github/workflows/DocsPreviewCleanup.yml`, which checked out the `gh-pages` branch and manually `git rm`-ed `previews/PR`, committed the deletion, squashed history, and force-pushed back to `gh-pages`.
  • Adds `.github/workflows/DocPreviewCleanup.yml` that calls `SciML/.github/.github/workflows/docs-preview-cleanup.yml@v1` with `secrets: inherit`.

The central reusable workflow performs the same Documenter.jl DocPreviewCleanup / gh-pages preview deletion, so this is a behavior-preserving replacement that reduces per-repo maintenance.

Diff

Only two files change: the removed inline file plus the new caller.

🤖 Generated with Claude Code

Replace the hand-rolled inline DocsPreviewCleanup.yml (which checked out
gh-pages and manually deleted the previews/PR<n> directory) with a thin
caller of 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:11
@ChrisRackauckas ChrisRackauckas merged commit c047bb7 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