Skip to content

ci(docs): publish 26.8.1 docs.nvidia.com from main - #2583

Merged
kheiss-uwzoo merged 4 commits into
NVIDIA:mainfrom
kheiss-uwzoo:docs/publish-source-26.08.1
Aug 25, 2026
Merged

ci(docs): publish 26.8.1 docs.nvidia.com from main#2583
kheiss-uwzoo merged 4 commits into
NVIDIA:mainfrom
kheiss-uwzoo:docs/publish-source-26.08.1

Conversation

@kheiss-uwzoo

@kheiss-uwzoo kheiss-uwzoo commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Build docs.nvidia.com content from main and publish as 26.8.1 / latest.
  • Fail closed: non-workflow_dispatch events cannot write S3 or move latest/ (the Aug 19 leak).
  • Keep 26.5.0 and 26.3.0 in the version picker.

Test plan

  • PR checks green
  • Merge this PR before the live publish (main still checks out tag 26.08)
  • Dry-run, then live workflow_dispatch with version 26.8.1 and publish-as-latest: true

The version folder is already 26.8.1, but the build still checked out tag 26.08. Point content at freeze branch 26.08.1.
@kheiss-uwzoo
kheiss-uwzoo requested review from a team as code owners August 25, 2026 16:37
@kheiss-uwzoo
kheiss-uwzoo requested review from drobison00 and jperez999 and removed request for drobison00 August 25, 2026 16:37
@greptile-apps

greptile-apps Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR updates the manual docs.nvidia.com publishing workflow to build from the triggering commit, publish the 26.8.1 release metadata, and fail closed for any future non-manual event.

  • Forces non-workflow_dispatch runs into dry-run mode without moving latest/.
  • Uses one pinned workflow commit for documentation content and version-picker metadata.
  • Restores 26.5.0 alongside 26.8.1 and 26.3.0 in the version picker.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
.github/workflows/nrl-docs-nvidia-publish.yml Updates source-revision handling and adds a fail-closed non-dispatch guard while retaining explicit manual publication controls.
docs/publish/versions.json Adds the existing 26.5.0 documentation release to the picker while retaining 26.8.1 as latest.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    Dispatch[Manual workflow dispatch] --> Resolve[Resolve version and publish inputs]
    Other[Future non-dispatch event] --> Closed[Force dry-run and disable latest update]
    Resolve --> Checkout[Checkout triggering commit]
    Closed --> Checkout
    Checkout --> Build[Build MkDocs site]
    Build --> Metadata[Copy versions.json into artifact]
    Metadata --> Publish[Invoke docs publishing action]
    Publish --> Version[Publish versioned documentation]
    Publish --> Latest{Publish as latest?}
    Latest -->|Explicit manual selection| Alias[Update latest alias]
    Latest -->|No or dry-run| Preserve[Preserve current latest alias]
Loading

Reviews (5): Last reviewed commit: "ci(docs): pin publish checkout to the tr..." | Re-trigger Greptile

26.08 docs are built from main, not a freeze branch. Checkout main and copy versions.json from that tree; keep the publish folder as 26.8.1.
@kheiss-uwzoo kheiss-uwzoo changed the title ci(docs): publish docs.nvidia.com from the 26.08.1 branch ci(docs): publish 26.8.1 docs.nvidia.com from main Aug 25, 2026
@kheiss-uwzoo kheiss-uwzoo self-assigned this Aug 25, 2026
@kheiss-uwzoo kheiss-uwzoo added 26.08.1 doc Improvements or additions to documentation labels Aug 25, 2026
Force dry-run unless the run is workflow_dispatch, so a re-added push trigger cannot overwrite latest/. Restore 26.5.0 in versions.json so the 26.08.1 cutover does not hide the prior GA train.
Use github.sha so the 26.8.1 cutover can dispatch this branch (picker + fail-closed workflow) without waiting on code-owner merge, and so a delayed run cannot publish a newer tip.
@kheiss-uwzoo
kheiss-uwzoo deployed to docs-nvidia-prod August 25, 2026 19:08 — with GitHub Actions Active
@kheiss-uwzoo
kheiss-uwzoo deployed to docs-nvidia-prod August 25, 2026 19:17 — with GitHub Actions Active
@kheiss-uwzoo
kheiss-uwzoo merged commit c113406 into NVIDIA:main Aug 25, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

26.08.1 doc Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants