Skip to content

Fix GitHub Pages deployment: auto-configure Pages source via configure-pages enablement - #8

Merged
samsta merged 2 commits into
mainfrom
copilot/debug-github-pages-deployment
May 22, 2026
Merged

samsta merged 2 commits into
mainfrom
copilot/debug-github-pages-deployment

Conversation

Copilot AI commented May 22, 2026 •

Copy link
Copy Markdown
Contributor

…bump version to 0.7.0

Agent-Logs-Url: https://github.com/samsta/KeyBpmMap/sessions/3fae1204-e72d-42fd-b7cf-e305ee044195

Co-authored-by: samsta <3915450+samsta@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes GitHub Pages deployments by ensuring the repository Pages source is automatically configured to GitHub Actions on non-PR runs, preventing GitHub Pages from serving raw (unbuilt) repo files. It also bumps the app version to reflect the change.

Changes:

  • Enable actions/configure-pages@v5 enablement on non-PR events so Pages source is (re)configured to GitHub Actions on pushes to main.
  • Add pages: write permission to the workflow job that runs configure-pages.
  • Bump package.json version from 0.6.0 to 0.7.0.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/deploy.yml Adjusts Pages configuration enablement and permissions to ensure GitHub Actions is used as the Pages source.
package.json Increments application version to 0.7.0.

Comment on lines 19 to 23
permissions:
contents: read
pages: write
steps:
- name: Checkout repository
@samsta
samsta marked this pull request as ready for review May 22, 2026 01:15
@samsta
samsta merged commit 087f085 into main May 22, 2026
Copilot stopped work on behalf of samsta due to an error May 22, 2026 01:15
@samsta
samsta deleted the copilot/debug-github-pages-deployment branch May 27, 2026 07:30
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.

3 participants