Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update storybook deploy scripts #6123

Merged
merged 3 commits into from
Jun 15, 2023
Merged

fix: Update storybook deploy scripts #6123

merged 3 commits into from
Jun 15, 2023

Conversation

nikk15
Copy link
Contributor

@nikk15 nikk15 commented Jun 15, 2023

@@ -36,6 +36,7 @@
"spritesheet:system-action": "spritesheet-js -f json -p src/assets/images/spritesheets/ --padding 8 --divisibleByTwo -n sprite-system-action-spritesheet --powerOfTwo src/assets/images/sprites/action/*",
"spritesheet:system-notice": "spritesheet-js -f json -p src/assets/images/spritesheets/ --padding 8 --divisibleByTwo -n sprite-system-notice-spritesheet --powerOfTwo src/assets/images/sprites/notice/*",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
Copy link
Contributor Author

@nikk15 nikk15 Jun 15, 2023

Choose a reason for hiding this comment

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

Looking at the way the storybook-to-ghpages script from storybook-deployer behaves, it first looks for "build-storybook" in scripts, else it runs build-storybook as is. In Storybook version 7, the script has changed slightly to storybook build, which has been updated here.

@nikk15 nikk15 temporarily deployed to smoke June 15, 2023 19:02 — with GitHub Actions Inactive
@nikk15 nikk15 temporarily deployed to hc-bio June 15, 2023 19:02 — with GitHub Actions Inactive
@nikk15 nikk15 merged commit 198c06d into master Jun 15, 2023
@nikk15 nikk15 deleted the update-storybook-deploy branch June 15, 2023 21:27
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