mirror of https://github.com/rancher/dashboard.git
Add storybook segment (#12733)
This commit is contained in:
parent
6033b26d98
commit
26cd5cc586
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
DIST=publish-storybook
|
DIST=storybook/publish-storybook
|
||||||
|
|
||||||
echo "Building and publishing Storybook"
|
echo "Building and publishing Storybook"
|
||||||
|
|
||||||
|
|
@ -8,7 +8,8 @@ if [ -z "${STORYBOOK_TOKEN}" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "storybook-static" ]; then
|
if [ ! -d "storybook/storybook-static" ]; then
|
||||||
|
ls
|
||||||
echo "Storybook has not been built"
|
echo "Storybook has not been built"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue