Skip to content

Deploy current main to GitHub Pages automatically - #72

Open
beanbean9339 wants to merge 2 commits into
mainfrom
ci/deploy-pages-on-main
Open

beanbean9339 wants to merge 2 commits into
mainfrom
ci/deploy-pages-on-main

Conversation

@beanbean9339

@beanbean9339 beanbean9339 commented Sep 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Build and deploy the Vite dist artifact to GitHub Pages on every push to main, with a manual trigger available.
  • Run tests and root metadata validation before publishing.
  • Document the one-time Pages setting change and retain the existing gh-pages branch until the first successful workflow deployment.

Tracks #73 for the Pages source switch and live deployment verification. Keep that issue open until the deployed site updates automatically.

One-time setting after merge

In Settings > Pages > Build and deployment > Source, select GitHub Actions. The current legacy branch-based Pages source uses gh-pages; a GITHUB_TOKEN push to that branch does not reliably trigger a Pages rebuild, so this PR uses the official artifact deployment actions instead.

Validation

npm run test (104 passed), npm run validate:metadata (passed), npm run build (passed).

@beanbean9339

Copy link
Copy Markdown
Collaborator Author

Tracking issue: #73. This PR adds the automatic Pages deployment workflow; #73 stays open for the one-time Pages source switch and verification that a later push to main updates the live site.

Comment thread .github/workflows/deploy-pages.yml Outdated

@egrace479 egrace479 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There seem to be a few redundancies here with the ci workflow. Small note: the pages related actions have newer versions, so suggested those.

Comment thread .github/workflows/deploy-pages.yml Outdated
Comment thread .github/workflows/deploy-pages.yml Outdated
Comment thread .github/workflows/deploy-pages.yml Outdated
Comment thread README.md Outdated
Comment thread .github/workflows/deploy-pages.yml Outdated
Comment thread .github/workflows/deploy-pages.yml Outdated
Comment thread .github/workflows/deploy-pages.yml Outdated
@beanbean9339
beanbean9339 requested a review from egrace479 October 4, 2026 21:39

This branch has not been deployed

No deployments
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