Auto-deploy docs to GitHub Pages on push to main - #14
Conversation
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
Greptile SummaryThis PR adds a GitHub Actions workflow ( All three concerns raised in previous review rounds have been addressed:
One contextual note: Confidence Score: 5/5Safe to merge — all previously raised P1 concerns have been addressed and no new issues were found. The three issues flagged in earlier rounds (missing workflow_dispatch, overly broad permissions, heavy dev deps) have all been resolved. No new logic, security, or correctness issues were identified. The heavy core dependency install (torch, etc.) is unavoidable given show_source: true in mkdocs.yml requires module imports, and was already discussed. The workflow follows GitHub's recommended Pages deployment pattern with correctly scoped permissions. No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant GH as GitHub (push to main)
participant Build as build job (contents: read)
participant UV as uv / mkdocs
participant Artifact as Pages Artifact Store
participant Deploy as deploy job (pages: write, id-token: write)
participant Pages as GitHub Pages
GH->>Build: Trigger (docs/**, mkdocs.yml, src/speculant_graph/**, or workflow_dispatch)
Build->>UV: uv sync --no-dev --extra docs
UV-->>Build: mkdocs + mkdocstrings + core deps installed
Build->>UV: uv run mkdocs build --strict
UV-->>Build: site/ directory generated
Build->>Artifact: upload-pages-artifact (site/)
Artifact-->>Build: Artifact stored
Build-->>Deploy: needs: build satisfied
Deploy->>Artifact: Fetch github-pages artifact
Deploy->>Pages: deploy-pages (OIDC token)
Pages-->>Deploy: Deployment URL
Reviews (4): Last reviewed commit: "ci: scope permissions per-job and skip d..." | Re-trigger Greptile |
Summary
Test plan