Skip to content

Deploy Storybooks to GitHub Pages#65

Merged
sjoerdbeentjes merged 1 commit into
mainfrom
feat/storybook-github-pages
Jul 1, 2026
Merged

Deploy Storybooks to GitHub Pages#65
sjoerdbeentjes merged 1 commit into
mainfrom
feat/storybook-github-pages

Conversation

@sjoerdbeentjes

Copy link
Copy Markdown
Collaborator

Summary

  • Adds .github/workflows/deploy-storybook.yml, which builds both packages' Storybooks on push to main and publishes them to GitHub Pages under /react/ and /angular/ (Pages only supports one deployment per repo, so both live side by side rather than as separate sites), with a small root index.html linking to each.
  • Verified locally that both Storybook builds emit relative (./...) asset paths, so they work correctly served from subpaths.

Test plan

  • Merge and confirm the workflow run succeeds
  • In repo Settings → Pages, set Source to "GitHub Actions" (one-time manual step)
  • Visit the published site root and confirm both /react/ and /angular/ links load their respective Storybooks

Adds a workflow that builds both packages' Storybooks and publishes them
under /react/ and /angular/ on one GitHub Pages site (Pages only supports
one deployment per repo), with a small root index linking to each.
@sjoerdbeentjes sjoerdbeentjes changed the title ci: deploy Storybooks to GitHub Pages Deploy Storybooks to GitHub Pages Jul 1, 2026
@sjoerdbeentjes sjoerdbeentjes merged commit b375958 into main Jul 1, 2026
1 check passed
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