Skip to content

Commit

Permalink
Skip deploy if not on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Sep 13, 2017
1 parent 4e95b00 commit 745bd35
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ cache:
jobs:
include:
- stage: deploy
if: branch = master AND type = push
node_js: 8
env: NODE_ENV=production
branches:
only:
- master
install:
- npm install -g gulp webpack yarn
- yarn --pure-lockfile
Expand Down

0 comments on commit 745bd35

Please sign in to comment.