🐛(react) fix storybook deploy

The static storybook deployment to github pages was throwing 404 errors
for a file beginning with a underscore, adding a .nojekyll disables
conflicts due to the default behavio of github pages.
This commit is contained in:
Nathan Vasse
2023-05-15 11:39:50 +02:00
committed by NathanVss
parent 424fa05cca
commit dd89157654

View File

@@ -36,7 +36,8 @@
"coverage": "vitest run --coverage", "coverage": "vitest run --coverage",
"storybook": "storybook dev -p 6006", "storybook": "storybook dev -p 6006",
"build-storybook": "storybook build", "build-storybook": "storybook build",
"deploy-storybook": "storybook-to-ghpages" "predeploy-storybook": "yarn build-storybook && touch ./storybook-static/.nojekyll",
"deploy-storybook": "storybook-to-ghpages --existing-output-dir ./storybook-static"
}, },
"dependencies": { "dependencies": {
"@fontsource/material-icons": "4.5.4", "@fontsource/material-icons": "4.5.4",