Skip to content

Commit

Permalink
Add netlify context
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnosphi committed Apr 22, 2018
1 parent b155f65 commit 64708c4
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 @@ -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
Expand Down

0 comments on commit 64708c4

Please sign in to comment.