Skip to content

Commit

Permalink
chore: 🔧 add all_branches: true to the deploy config
Browse files Browse the repository at this point in the history
semantic-release is responsible for checking whether package should be
deployed on the current branch or not. By setting `all_branches: true`
in the deploy job, we move this responsibility away from Travis CI.
  • Loading branch information
Piotr Oleś authored and piotr-oles committed Apr 22, 2019
1 parent 5fe0653 commit 7e4264c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ jobs:
skip_cleanup: true
script:
- yarn exec semantic-release
on:
all_branches: true
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
"test:watch": "mocha -R spec --watch ./test/unit",
"watch": "tsc --version && tsc --project \"./src\" --watch",
"precommit": "lint-staged && yarn build",
"commit": "./node_modules/.bin/git-cz",
"semantic-release": "semantic-release"
"commit": "./node_modules/.bin/git-cz"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 7e4264c

Please sign in to comment.