Closes #351
Publishes a new version of Storybook to GitHub Pages every time commits are pushed to dev.
Files changed
.github/workflows/storybook-publish.yml: The new workflow file dedicated to the publishing.
.github/workflows/storybook-tests.yml: Renamed from storybook.yml for consistency and clarity.
README.md: Added a reference to the published Storybook in the landing page of the repository.
Considerations
Storybook is published in enbloc-org.github.io/kindly/storybook instead of enbloc-org.github.io/kindly. This makes the URL more explicit and leaves the base URL available if there's the need to deploy something else there in the future.
I thought it would be a good idea to reference the published Storybook in the README.md file. Please review the location and message.
⚠️ Manual step needed! An admin will need to tweak the Pages settings of the repository, making sure that the "Source" is "GitHub Actions" (in the "Build and deployment" section).
Description
Closes #351
Publishes a new version of Storybook to GitHub Pages every time commits are pushed to
dev
.Files changed
.github/workflows/storybook-publish.yml
: The new workflow file dedicated to the publishing..github/workflows/storybook-tests.yml
: Renamed fromstorybook.yml
for consistency and clarity.README.md
: Added a reference to the published Storybook in the landing page of the repository.Considerations
enbloc-org.github.io/kindly/storybook
instead ofenbloc-org.github.io/kindly
. This makes the URL more explicit and leaves the base URL available if there's the need to deploy something else there in the future.README.md
file. Please review the location and message.Tests
From my fork: