Ensures only pushes to master branch are built

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2017-12-29 12:32:09 +01:00
parent 25c42852f9
commit 686c925485
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
sudo: false
branches:
only:
- master
cache: bundler
script: JEKYLL_ENV=production bundle exec jekyll build && bundle exec htmlproofer ./_site --disable-external
before_deploy: