Skip to content

chore(ci): add GitHub Pages workflow for Taskplane Overview microsite#584

Merged
HenryLach merged 1 commit into
mainfrom
chore/pages-workflow
May 18, 2026
Merged

chore(ci): add GitHub Pages workflow for Taskplane Overview microsite#584
HenryLach merged 1 commit into
mainfrom
chore/pages-workflow

Conversation

@HenryLach
Copy link
Copy Markdown
Owner

Adds .github/workflows/pages.yml to deploy docs/taskplane-overview/ to GitHub Pages.

Scope

Only the Overview deck is served — not the rest of docs/. To broaden the site later, change the path: value on the upload-pages-artifact step. To switch to a /docs-wide branch deploy, change Settings → Pages source to 'Deploy from a branch' and delete this workflow.

Workflow details

  • Trigger: pushes to main that touch docs/taskplane-overview/** or the workflow itself, plus manual workflow_dispatch.
  • Permissions: standard Pages set (contents:read, pages:write, id-token:write).
  • Concurrency: group: pages, cancel-in-progress: false — in-flight deploys finish before the next one starts.
  • Environment: github-pages (auto-created when Pages is enabled).
  • Actions used: actions/checkout@v4, actions/configure-pages@v5, actions/upload-pages-artifact@v3, actions/deploy-pages@v4 (all official, pinned to current majors).

One-time setup required

Before this workflow's first run will succeed, repo Settings → Pages → Source must be set to 'GitHub Actions'. That enables Pages on the repo and creates the github-pages environment that this workflow targets. Until that's done, the workflow will fail on the configure-pages step with a 404.

Why no release

Adds infra/automation, no runtime/CLI/config/schema change.

Deploys docs/taskplane-overview/ to GitHub Pages on every push to main
that touches that folder (or this workflow). Uses the official
actions/configure-pages + upload-pages-artifact + deploy-pages stack
and the github-pages environment.

Scope is intentionally narrow — only the Overview deck is served, not
the rest of docs/. To broaden later, change the path on the upload
step (or switch Pages source to a /docs branch deploy and delete this
workflow). No other part of the repo references this folder.

Requires a one-time settings change: repo Settings -> Pages -> Source
must be set to 'GitHub Actions' before the first deploy succeeds.
@HenryLach HenryLach merged commit 6fcef5b into main May 18, 2026
1 check passed
@HenryLach HenryLach deleted the chore/pages-workflow branch May 18, 2026 14:51
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