From 48c761a695b83698b774d32149de69f7f5551f02 Mon Sep 17 00:00:00 2001
From: Stephanie Freitag <stephanie.freitag@holi.team>
Date: Fri, 25 Oct 2024 16:07:29 +0200
Subject: [PATCH] HOLI-10392: add holi-bricks storybook to local-backends
 config as well

---
 mprocs-local-backend.yaml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/mprocs-local-backend.yaml b/mprocs-local-backend.yaml
index 7964a74..fe59e95 100644
--- a/mprocs-local-backend.yaml
+++ b/mprocs-local-backend.yaml
@@ -9,7 +9,15 @@ procs:
     env:
       DEV_ENV: local
     shell: ./mprocs-start-web.sh
-  storybook:
+  storybook (holi-bricks web):
+    cwd: <CONFIG_DIR>/holi-frontends
+    shell: >
+      if [ "$LOCAL_BACKEND_STORYBOOK" = "true" ]; then
+        ./mprocs-start-holi-bricks.sh;
+      else
+        echo "Not starting local Storybook for holi-bricks because LOCAL_BACKEND_STORYBOOK is not set to 'true'";
+      fi
+  storybook (legacy):
     cwd: <CONFIG_DIR>/holi-frontends
     shell: >
       if [ "$LOCAL_BACKEND_STORYBOOK" = "true" ]; then
-- 
GitLab