Skip to content

ci(docs): gate Pages deploy on upload output and fix README links - #371

Merged
abrichr merged 1 commit into
mainfrom
gemini/fix-ops-ci-workflows-and-links
Nov 25, 2026
Merged

abrichr merged 1 commit into
mainfrom
gemini/fix-ops-ci-workflows-and-links

Conversation

@abrichr

@abrichr abrichr commented Nov 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Fix Sync Documentation (No artifacts named "github-pages" were found): Split actions/deploy-pages out of sync-and-deploy into a separate deploy job gated on needs.sync-and-deploy.outputs.uploaded == 'true'. Running upload and deploy in the same job caused deploy-pages to query GitHub's artifact API ~330ms after upload before indexing finished, and left deploy ungated when no artifact was uploaded. Post-deploy auto-sync PR gates remain in deploy right after actions/deploy-pages via job outputs.
  • Fix broken README.md links: Replace the two remaining links to deleted docs/reference/documentation-governance.md with docs/reference/packages.md (matching the existing redirect in mkdocs.yml). (docs/commercial/seal.md was already fixed to docs/reference/receipts.md on main, and scripts/check_published_version_claims.py already passes on main with 0 warnings.)
  • Update workflow unit tests: Update tests/test_docs_sync_workflow.py for the two-job layout and add test_deploy_job_requires_uploaded_pages_artifact.

Verification

  • uv run pytest tests/ -q: 622 passed, 1 skipped, 23 subtests passed
  • uv run python scripts/validate_docs.py: passed
  • uv run mkdocs build --strict: passed
  • python3 scripts/check_published_version_claims.py: passed (0 warnings)
  • gitleaks git --staged --no-banner: 0 leaks

@abrichr
abrichr merged commit bfa0bd4 into main Nov 25, 2026
8 checks passed
@abrichr
abrichr deleted the gemini/fix-ops-ci-workflows-and-links branch November 25, 2026 05:24
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