Skip to content

Commit

Permalink
Merge pull request patw0929#274 from patw0929/fix/travis-storybook-build
Browse files Browse the repository at this point in the history
fix(storybook-deploy): Fixed the storybook deployment script in travis
  • Loading branch information
patw0929 authored Feb 12, 2019
2 parents 964af19 + 6220709 commit a0f0f61
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 a0f0f61

Please sign in to comment.