From 64708c4965f0de08f527bc85e7b9ec6271f515f6 Mon Sep 17 00:00:00 2001 From: Hypnosphi Date: Sun, 22 Apr 2018 22:19:53 +0300 Subject: [PATCH] Add netlify context --- scripts/netlify-build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/netlify-build.sh b/scripts/netlify-build.sh index 48d96fd3985d..f7a6fed2b300 100755 --- a/scripts/netlify-build.sh +++ b/scripts/netlify-build.sh @@ -49,6 +49,13 @@ elif [ "$BUILD_CONTEXT" = "MITHRIL" ]; then yarn build-storybook mv storybook-static ../../netlify-build popd +elif [ "$BUILD_CONTEXT" = "HTML" ]; then + echo "netlify-build HTML examples" + pushd examples/html-kitchen-sink + yarn + yarn build-storybook + mv storybook-static ../../netlify-build + popd elif [ "$BUILD_CONTEXT" = "OFFICIAL" ]; then echo "netlify-build official examples" pushd examples/official-storybook