Skip to content

Commit

Permalink
chore(ci): prevents deploys in PRs [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
jshor committed Apr 29, 2020
1 parent 8182d7b commit 64ce610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ script:
- yarn build

after_success:
- if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_COMMIT_MESSAGE != *"chore(release)"* ]]; then
- if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_COMMIT_MESSAGE != *"chore(release)"* ]]; then
yarn release;

if [[ $TRAVIS_COMMIT_MESSAGE != *"chore(release)"* ]]; then
Expand Down

0 comments on commit 64ce610

Please sign in to comment.