0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Merge pull request #4964 from penpot/superalex-fix-storybook-build

🐛 Fix storybook build
This commit is contained in:
Andrey Antukh 2024-08-06 10:47:54 +02:00 committed by GitHub
commit 36ac81bb43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ rsync -avr resources/public/ target/dist/
sed -i -re "s/\%version\%/$CURRENT_VERSION/g" ./target/dist/index.html;
sed -i -re "s/\%buildDate\%/$BUILD_DATE/g" ./target/dist/index.html;
if [ "$INCLUDE_STORYBOOK" = "yes"]; then
if [ "$INCLUDE_STORYBOOK" = "yes" ]; then
# build storybook
yarn run build:storybook || exit 1;
rsync -avr storybook-static/ target/dist/storybook-static;