Skip to content

Commit e67b6eb

Browse files
committed
Add storybook to Netlify previews
1 parent 2837815 commit e67b6eb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,11 @@ netlify:
211211
git submodule update; \
212212
ln -s ../submodules/volto/docs/source ./docs/volto
213213
cd $(DOCS_DIR) && sphinx-build -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
214+
make storybook
215+
216+
.PHONY: storybook
217+
storybook:
218+
cd submodules/volto && yarn && yarn build-storybook -o ../../_build/html/storybook
214219

215220
.PHONY: all
216221
all: clean spellcheck linkcheck html ## Clean docs build, then run linkcheck and spellcheck, and build html

0 commit comments

Comments
 (0)