Add storybook segment (#12733)

This commit is contained in:
Giuseppe Leo 2024-12-02 15:48:10 +01:00 committed by GitHub
parent 6033b26d98
commit 26cd5cc586
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
DIST=publish-storybook
DIST=storybook/publish-storybook
echo "Building and publishing Storybook"
@ -8,7 +8,8 @@ if [ -z "${STORYBOOK_TOKEN}" ]; then
exit 1
fi
if [ ! -d "storybook-static" ]; then
if [ ! -d "storybook/storybook-static" ]; then
ls
echo "Storybook has not been built"
exit 1
fi