Skip to content

Fix GitHub Pages deployment failing on unconfigured repos#6

Merged
chefgs merged 2 commits intomainfrom
copilot/fix-gh-pages-generation-error
Mar 4, 2026
Merged

Fix GitHub Pages deployment failing on unconfigured repos#6
chefgs merged 2 commits intomainfrom
copilot/fix-gh-pages-generation-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 4, 2026

The actions/configure-pages@v5 step was failing with Not Found because GitHub Pages wasn't enabled on the repository — the action requires Pages to already be configured before it can run.

Changes

  • .github/workflows/pages.yml: Add enablement: true to the configure-pages step, allowing the action to enable Pages automatically if not already set up.
- name: Setup Pages
  uses: actions/configure-pages@v5
  with:
    enablement: true

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…tion

Co-authored-by: chefgs <7605658+chefgs@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix GitHub Pages generation error Fix GitHub Pages deployment failing on unconfigured repos Mar 4, 2026
@chefgs chefgs marked this pull request as ready for review March 4, 2026 15:22
@chefgs chefgs merged commit aab820f into main Mar 4, 2026
4 checks passed
@chefgs chefgs deleted the copilot/fix-gh-pages-generation-error branch March 4, 2026 15:23
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