Handle docs-version-deploy dispatch and auto-update archived versions#3
Merged
Conversation
…json - Add docs-version-deploy to repository_dispatch types - Read version from client_payload before falling back to workflow_dispatch input - Add step to update versionsArchived.json after versioned builds - Replace static versions.html with redirect to /versions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
skamenan7
pushed a commit
to skamenan7/llama-stack
that referenced
this pull request
Apr 29, 2026
…ployment (ogx-ai#5652) # What does this PR do? Fixes the broken versions page at ogx-ai.github.io/versions.html by replacing the static hardcoded HTML with a dynamic Docusaurus page that fetches all releases from the GitHub API and checks `versionsArchived.json` for which versions have hosted documentation. Also extends the docs deploy workflow to automatically trigger versioned doc builds when a release is published, dispatching `docs-version-deploy` to ogx-ai.github.io. Companion PR: ogx-ai/ogx-ai.github.io#3 ## Test Plan 1. Run the Docusaurus dev server (`cd docs && npm run start`) and navigate to `/versions` — verify all GitHub releases are listed with dates and "Documentation" links for versions that have deployed docs. 2. Navigate to `/versions.html` — verify it redirects to `/versions`. 3. After merging both PRs, trigger `Trigger Docs Deploy` workflow manually with `tag: v0.7.1` to verify versioned docs build and deploy to ogx-ai.github.io/v0.7.1/. Signed-off-by: Sébastien Han <seb@redhat.com> Co-authored-by: Claude Opus 4.6 (1M context) <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
docs-version-deploytorepository_dispatchtypes so the ogx repo can trigger versioned doc builds on new releasesclient_payload.versionbefore falling back toworkflow_dispatchinputversionsArchived.jsonwith the newly built version (sorted by semver descending)versions.htmlwith a redirect to/versions(the dynamic Docusaurus versions page)Test plan
workflow_dispatchwithversion: v0.7.1andaction: build-and-deployhttps://ogx-ai.github.io/v0.7.1/versionsArchived.jsonis updated with the new entryversions.htmlredirects to/versions