From 7e23bac75229b0bc60c9aa2f4fecc8f3579c29de Mon Sep 17 00:00:00 2001 From: Hypnosphi Date: Fri, 16 Feb 2018 23:26:31 +0300 Subject: [PATCH] Add netlify for polymer --- scripts/netlify-build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/netlify-build.sh b/scripts/netlify-build.sh index 71de2feaa8f1..af34587fb7ba 100755 --- a/scripts/netlify-build.sh +++ b/scripts/netlify-build.sh @@ -35,6 +35,13 @@ elif [ "$BUILD_CONTEXT" = "ANGULAR" ]; then yarn build-storybook mv storybook-static ../../netlify-build popd +elif [ "$BUILD_CONTEXT" = "POLYMER" ]; then + echo "netlify-build Polymer examples" + pushd examples/polymer-cli + yarn + yarn build-storybook + mv storybook-static ../../netlify-build + popd elif [ "$BUILD_CONTEXT" = "OFFICIAL" ]; then echo "netlify-build official examples" pushd examples/official-storybook