Skip to content

Demo: deploy our demo app to GitHub Pages whenever main gets updated - #21

Merged
agarny merged 3 commits into
opencor:mainfrom
agarny:issue19
Dec 1, 2026
Merged

agarny merged 3 commits into
opencor:mainfrom
agarny:issue19

Conversation

@agarny

@agarny agarny commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Fixes #19.

Copilot AI lite review requested due to automatic review settings December 1, 2026 11:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The workflow removes the Pages configuration step, so fresh or disabled repositories may fail with a 404 when deployment runs.

1 open issue
What changed in this PR

Updates the demo deployment workflow to deploy the app to GitHub Pages whenever main is updated.

Changes:

  • Restricts default workflow permissions to contents: read.
  • Grants Pages deployment permissions only to the deploy job.
  • Removes the configure-pages step from the build job.
File Description
.github/​workflows/​demo.yml Adjusts workflow permissions and separates build and GitHub Pages deployment capabilities.

Review effort: Lite

Comment thread .github/workflows/demo.yml Resolved
@agarny
agarny merged commit 640ab94 into opencor:main Dec 1, 2026
5 checks passed
@agarny
agarny deleted the issue19 branch December 1, 2026 11:22
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.

Demo: deploy our demo app to GitHub Pages whenever main gets updated

2 participants