mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
ADD a switch case for Netlify official-storybook example
This commit is contained in:
parent
dc82759bc1
commit
84ffcd1ae9
@ -28,6 +28,13 @@ elif [ "$BUILD_CONTEXT" = "VUE" ]; then
|
||||
yarn build-storybook
|
||||
mv storybook-static ../../netlify-build
|
||||
popd
|
||||
elif [ "$BUILD_CONTEXT" = "OFFICIAL" ]; then
|
||||
echo "netlify-build official examples"
|
||||
pushd examples/official-storybook
|
||||
yarn
|
||||
yarn build-storybook
|
||||
mv storybook-static ../../netlify-build
|
||||
popd
|
||||
else
|
||||
RED='\033[0;31m'
|
||||
NOCOLOR='\033[0m'
|
||||
|
Loading…
x
Reference in New Issue
Block a user