Repository navigation
ci(docs): previews on request, cleaned up when the PR is closed - #988
Merged
Merged
Conversation
… up on close - 'run documentation' is the only trigger; 'documentation push preview' also deploys the PR preview (DOCUMENTER_PUSH_PREVIEW read in make.jl). - DocPreviewCleanup.yml removes previews of closed PRs from gh-pages (control-toolbox/CTActions#94). Co-Authored-By: Claude Opus 5.5 <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
Aligns the documentation workflow with the other packages (CTBase, CTModels, CTDirect, CTFlows, CTSolvers) and with SITE13 (control-toolbox/ct-conventions#36):
run documentationis the only trigger.documentation push previewis a modifier that also deploys the preview.docs/make.jlreadspush_previewfromDOCUMENTER_PUSH_PREVIEW, which CTActions sets from that label, instead of deploying every PR build.concurrency:cancel-in-progresson PRs only. Push and tag runs queue, so thebuild-gpupass onoccidatais never cancelled mid-run and the newest content still deploys last (CTActions WORKFLOWS.md §2).DocPreviewCleanup.yml: when a PR is closed, removes fromgh-pagesthe previews of every closed PR, which also clears the existing backlog. It can also be run by hand. Needs Remove documentation previews of closed PRs; docs concurrency and probes in WORKFLOWS.md CTActions#94 merged first.Test plan
run documentationon this PR: builds, no preview deployedDocumentation preview cleanupby hand🤖 Generated with Claude Code