Skip to content

Commit

Permalink
Merge pull request #3004 from storybooks/netlify-polymer
Browse files Browse the repository at this point in the history
Add netlify for polymer
  • Loading branch information
Hypnosphi authored Feb 17, 2018
2 parents 84c26ff + f12aaa3 commit 778b287
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/netlify-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 778b287

Please sign in to comment.