Skip to content

Commit

Permalink
fix(storybook-deploy): Fixed the storybook deployment script in travi…
Browse files Browse the repository at this point in the history
…s.yml
  • Loading branch information
nutboltu committed Feb 11, 2019
1 parent 964af19 commit 6220709
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ script:
- yarn build
after_success:
- yarn run coverage
- test $TRAVIS_BRANCH = "master" && npm run deploy
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then yarn run deploy; fi
after_script: yarn run coveralls
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"scripts": {
"build": "node scripts/build.js",
"start": "start-storybook -p 4000 -c .storybook",
"deploy": "storybook-to-ghpages",
"deploy": "storybook-to-ghpages --ci",
"lint-staged": "lint-staged",
"lint-pass": "echo '\\033[4;32m♡' No any errors! Go go go! ♡' \\033[0m'",
"lint": "yarn run eslint",
Expand Down

0 comments on commit 6220709

Please sign in to comment.