Skip to content

fix: deploy Pages for archived versions + add version dropdown#11

Merged
leseb merged 2 commits into
mainfrom
leseb/fix-v070-deploy-skip
Apr 29, 2026
Merged

fix: deploy Pages for archived versions + add version dropdown#11
leseb merged 2 commits into
mainfrom
leseb/fix-v070-deploy-skip

Conversation

@leseb
Copy link
Copy Markdown
Contributor

@leseb leseb commented Apr 29, 2026

Summary

  • Fix Pages deploy for archived versions: The deploy job was gated on BUILDING_LATEST == 'true', so archived version builds (e.g., v0.7.0) committed files to the repo but never deployed to GitHub Pages. Removed the BUILDING_LATEST gate — Pages deploy now runs for all build types.
  • Add version dropdown to navbar: Replaced the Docusaurus docsVersionDropdown (which requires versioned_docs/ directories we don't use) with a custom dropdown populated from versionsArchived.json:
    • Latest build: Shows "main (unreleased)" label with links to all archived versions
    • Archived builds: Shows the version tag (e.g., "v0.7.0") as label with links back to main and all other versions

Test plan

  • Trigger a latest build and verify the version dropdown appears in the navbar with all archived versions listed
  • Trigger an archived version build (e.g., v0.7.0) and verify:
    • The Pages deploy step runs (not skipped)
    • The archived version is accessible at https://ogx-ai.github.io/v0.7.0/
    • The version dropdown shows the version tag with links to main and other versions
  • Verify the "All versions" link in the dropdown works

🤖 Generated with Claude Code

leseb and others added 2 commits April 29, 2026 15:50
Pages is configured with build_type=workflow, so content is only
published via deploy-pages action. Archived version builds were
committing to the repo but skipping the Pages deploy because it
was gated on BUILDING_LATEST==true.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace the Docusaurus docsVersionDropdown (which requires versioned_docs)
with a custom dropdown populated from versionsArchived.json. The latest
build shows "main (unreleased)" as the label with links to all archived
versions. Archived builds show their version tag as the label with links
back to main and other versions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@leseb leseb merged commit cb56a24 into main Apr 29, 2026
1 check 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.

1 participant