Files
cunningham/scripts/predeploy-ghpages
Nathan Vasse def859ee0b 👷(ci) put storybook build in a gh-pages sub folder
Our main goal doing this is to allow us to have multiple static build
standing next to each other on our gh-pages.
2024-02-14 15:47:44 +01:00

10 lines
247 B
Plaintext
Executable File

rm -rf ghpages-output
mkdir -p ghpages-output/storybook
cd packages/react && yarn build-storybook
cd ../..
mv packages/react/storybook-static/* ghpages-output/storybook
touch ./ghpages-output/.nojekyll
touch ./ghpages-output/storybook/.nojekyll