Skip to content

fix(docs): use uv tool install and add PR preview deployments#81

Merged
capotej merged 6 commits into
capotej:mainfrom
hermclaw:fix/docs-workflow-deploy
May 25, 2026
Merged

fix(docs): use uv tool install and add PR preview deployments#81
capotej merged 6 commits into
capotej:mainfrom
hermclaw:fix/docs-workflow-deploy

Conversation

@hermclaw
Copy link
Copy Markdown
Contributor

Summary

Fixes the docs workflow that fails on main and adds PR preview deployments.

Changes

  • Fix build failure: uv add requires pyproject.toml — replaced with uv tool install zensical==0.0.43 which works without a Python project
  • Split into build/deploy jobs: Build always runs; deploy only runs on push to main
  • PR preview deployments: Workflow now triggers on PRs touching docs files. GitHub Pages will create a temporary preview URL accessible from the PR checks tab (requires GitHub Pages to be enabled with Actions source)
  • Removed configure-pages from build job: Only needed in the deploy job

Verification

  • zensical build --clean — builds successfully locally

@hermclaw hermclaw requested a review from capotej as a code owner May 25, 2026 19:57
@capotej capotej merged commit 2c6bce6 into capotej:main May 25, 2026
5 checks 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.

2 participants