Skip to content

Commit

Permalink
fix: use travis deployment for just master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
theoomoregbee authored and kdoran committed Oct 24, 2018
1 parent ea06878 commit 9b4bd21
Show file tree
Hide file tree
Showing 3 changed files with 3,986 additions and 4,087 deletions.
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@ notifications:
email: false
node_js:
- '8'
after_success:
- npm run build
- npm run deploy
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
before_deploy:
- npm run build
deploy:
provider: pages
skip-cleanup: true
github-token: $GH_TOKEN # Set in the settings page of your repository, as a secure variable
local-dir: ./dist
on:
branch: master
after_deploy:
- npm run travis-deploy-once "npm run semantic-release"
Loading

0 comments on commit 9b4bd21

Please sign in to comment.