Skip to content

fix(docs): populate latest/ directory when publishing tagged release - #911

Open
Sreesanth R (Shreesh-Sree) wants to merge 1 commit into
microsoft:mainfrom
Shreesh-Sree:fix/docs-workflow-latest-directory
Open

Sreesanth R (Shreesh-Sree) wants to merge 1 commit into
microsoft:mainfrom
Shreesh-Sree:fix/docs-workflow-latest-directory

Conversation

@Shreesh-Sree

Copy link
Copy Markdown

Description of changes

When documentation is published via workflow_dispatch for a tagged release (e.g. v0.8.1), docs.yml creates public/wassette/${version} and generates a root index.html redirecting to latest/. However, the workflow previously only wrote to the version-specific directory and did not populate public/wassette/latest/, causing root visits to redirect to a 404.

This PR updates the workflow to also copy the built documentation to public/wassette/latest/ whenever a tagged release is published, ensuring that the root redirect to latest/ always resolves.

Closes #910

This branch has not been deployed

No deployments
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.

GitHub Pages documentation site returns 404 (root redirects to /latest/ which doesn't exist)

1 participant