Skip to content

Commit

Permalink
fix: don't die on npm run publish-storybook
Browse files Browse the repository at this point in the history
closes #724
  • Loading branch information
shawnbot committed Mar 14, 2019
1 parent 5e3f7eb commit 77b1fa4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/postpublish
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ if [[ -f $file ]]; then
fi

if [[ "$GITHUB_REF" = "refs/heads/master" ]]; then
npm run publish-storybook
npm run --silent publish-storybook || (
echo "Whoops! Failed to publish Storybook. This is not a fatal error."
)
fi

0 comments on commit 77b1fa4

Please sign in to comment.