mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Merge pull request #4964 from penpot/superalex-fix-storybook-build
🐛 Fix storybook build
This commit is contained in:
@@ -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/\%version\%/$CURRENT_VERSION/g" ./target/dist/index.html;
|
||||||
sed -i -re "s/\%buildDate\%/$BUILD_DATE/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
|
# build storybook
|
||||||
yarn run build:storybook || exit 1;
|
yarn run build:storybook || exit 1;
|
||||||
rsync -avr storybook-static/ target/dist/storybook-static;
|
rsync -avr storybook-static/ target/dist/storybook-static;
|
||||||
|
|||||||
Reference in New Issue
Block a user