Skip to content

Add GitHub Pages PR previews - #149

Open
TrySound wants to merge 1 commit into
mainfrom
feat/github-pages-pr-previews
Open

Add GitHub Pages PR previews#149
TrySound wants to merge 1 commit into
mainfrom
feat/github-pages-pr-previews

Conversation

@TrySound

@TrySound TrySound commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • deploy the production website and PR previews through a shared gh-pages branch
  • deploy same-repository PR previews under /rifm/pr-<number>/
  • comment preview links on PRs and remove previews when PRs close
  • configure Vite asset paths through BASE_PATH
  • replace the previous artifact-based Pages workflow so production and previews coexist

Validation

  • pnpm --dir website test
  • pnpm --dir website typecheck
  • production/preview publishing script integration test
  • PR preview deployment workflow completed successfully

One-time setup after merge

In Settings → Pages, change the source from GitHub Actions to Deploy from a branch, then select gh-pages and / (root). The preview URL will return 404 until this setting is changed.

@TrySound
TrySound force-pushed the feat/github-pages-pr-previews branch from aaccfbc to 95942f2 Compare August 26, 2026 12:47
@github-actions

Copy link
Copy Markdown
Contributor

🚀 PR preview: https://trysound.github.io/rifm/pr-149/

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.

1 participant