Skip to content

ci: migrate docs deployment to GitHub Actions Pages#21

Merged
eman merged 5 commits into
mainfrom
docs/github-actions-pages
May 12, 2026
Merged

ci: migrate docs deployment to GitHub Actions Pages#21
eman merged 5 commits into
mainfrom
docs/github-actions-pages

Conversation

@eman
Copy link
Copy Markdown
Owner

@eman eman commented May 12, 2026

Replace mkdocs gh-deploy (push-to-branch) with the official actions/upload-pages-artifact + actions/deploy-pages workflow.

Changes:

  • Drop contents:write permission (no longer pushing to gh-pages branch)
  • Add pages:write and id-token:write for OIDC-based deployment
  • Split into build/deploy jobs for clearer separation of concerns
  • Add concurrency guard to prevent overlapping deployments
  • Add --strict flag to mkdocs build to catch doc warnings as errors

After merging, change GitHub Pages source to 'GitHub Actions' in: Settings > Pages > Build and deployment > Source

Replace mkdocs gh-deploy (push-to-branch) with the official
actions/upload-pages-artifact + actions/deploy-pages workflow.

Changes:
- Drop contents:write permission (no longer pushing to gh-pages branch)
- Add pages:write and id-token:write for OIDC-based deployment
- Split into build/deploy jobs for clearer separation of concerns
- Add concurrency guard to prevent overlapping deployments
- Add --strict flag to mkdocs build to catch doc warnings as errors

After merging, change GitHub Pages source to 'GitHub Actions' in:
Settings > Pages > Build and deployment > Source
Copilot AI review requested due to automatic review settings May 12, 2026 17:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Migrates the documentation deployment workflow from mkdocs gh-deploy (branch push) to GitHub Pages’ official artifact-based deployment, aligning docs publishing with the modern GitHub Actions Pages model.

Changes:

  • Replace mkdocs gh-deploy with actions/upload-pages-artifact + actions/deploy-pages.
  • Split workflow into separate build and deploy jobs with a Pages concurrency guard.
  • Build docs with mkdocs build --strict to fail on warnings.

Comment thread .github/workflows/docs.yml Outdated
Comment on lines +8 to +11
permissions:
contents: write
contents: read
pages: write
id-token: write
eman added 4 commits May 12, 2026 10:40
- cli_guide: remove 'modern, user-friendly', 'beautiful terminal output', 'intuitive command structure'
- control_modes guide: 'comprehensive information' -> 'covers'
- protocol/control_modes: 'comprehensive overview' -> 'covers'
- protocol/schedules: 'includes comprehensive validation' -> 'validates'
- protocol/architecture: 'unlock the pump's capabilities' -> factual description
- TESTING_STRATEGY: 'comprehensive testing strategy, designed to ensure' -> direct
- reference/data_models: 'with comprehensive validation' -> factual note
- api/constants: 'comprehensive lookup table' -> 'lookup table'
@eman eman merged commit d340b19 into main May 12, 2026
6 checks passed
@eman eman deleted the docs/github-actions-pages branch May 12, 2026 20:56
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