Skip to content

Add docs.yml workflow for GitHub Pages deployment#418

Merged
abernier merged 6 commits intomainfrom
copilot/add-workflow-for-docs
Jan 15, 2026
Merged

Add docs.yml workflow for GitHub Pages deployment#418
abernier merged 6 commits intomainfrom
copilot/add-workflow-for-docs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 15, 2026

Adds a docs.yml workflow to enable pmndrs/docs to deploy its own documentation to GitHub Pages, following the pattern established by other pmndrs repositories like react-three-fiber.

Changes

  • .github/workflows/docs.yml: New workflow that builds and deploys docs on push to main

    • Calls reusable pmndrs/docs/.github/workflows/build.yml@v2 with Poimandres branding
    • Explicit GITHUB_TOKEN permissions for security (contents: read, pages: write, id-token: write)
    • Deploys to github-pages environment via actions/deploy-pages@v4
  • .changeset/cyan-dancers-ring.md: Major version bump for the new workflow capability

Configuration

build:
  permissions:
    contents: read
    pages: write
    id-token: write
  uses: pmndrs/docs/.github/workflows/build.yml@v2
  with:
    mdx: 'docs'
    libname: 'Poimandres'
    home_redirect: '/getting-started/introduction'
    logo: 'gutenberg.jpg'
Original prompt

i want pmndrs/docs uses its own .github/workflows/docs.yml as eg. https://github.com/pmndrs/react-three-fiber/blob/master/.github/workflows/docs.yml as well


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 15, 2026 21:45
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
@abernier abernier added this to the v3 milestone Jan 15, 2026
@abernier abernier marked this pull request as ready for review January 15, 2026 21:50
Copilot AI changed the title [WIP] Add .github/workflows/docs.yml for documentation Add docs.yml workflow for GitHub Pages deployment Jan 15, 2026
Copilot AI requested a review from abernier January 15, 2026 21:54
@abernier abernier merged commit 7d84d48 into main Jan 15, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request Jan 15, 2026
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