From 2b2bc7356497d1c02a08168207b26de14d407155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Thu, 1 Aug 2024 15:13:21 +0200 Subject: [PATCH] :wrench: Update build script to include storybook --- frontend/scripts/build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/scripts/build b/frontend/scripts/build index 4ac406cce..98ce7c06b 100755 --- a/frontend/scripts/build +++ b/frontend/scripts/build @@ -26,3 +26,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; + +# build storybook +yarn run storybook:build || exit 1; +rsync -avr storybook-static/ target/dist/storybook-static