Skip to content

Commit

Permalink
Added master build condition
Browse files Browse the repository at this point in the history
  • Loading branch information
newcat committed Jul 17, 2019
1 parent 5a0aba8 commit 091bcc3
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 @@ -27,7 +27,7 @@ jobs:
on:
all_branches: true
- stage: build and deploy
if: commit_message =~ /Publish/
if: branch = master AND commit_message =~ /Publish/
script:
- lerna run build
before_deploy:
Expand Down

0 comments on commit 091bcc3

Please sign in to comment.