Skip to content

Commit

Permalink
Build: Prevents artifacts from feature branches from being pushed to …
Browse files Browse the repository at this point in the history
…the working examples
  • Loading branch information
LaurentGoderre committed Nov 18, 2014
1 parent 77ed686 commit 08b9bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = (grunt) ->
"deploy"
"Build and deploy artifacts to wet-boew-dist"
->
if process.env.TRAVIS_PULL_REQUEST isnt true and process.env.DIST_REPO isnt `undefined` and ( process.env.TRAVIS_TAG isnt `undefined` or process.env.TRAVIS_BRANCH is "master" )
if process.env.TRAVIS_PULL_REQUEST is "false" and process.env.DIST_REPO isnt `undefined` and ( process.env.TRAVIS_TAG isnt "" or process.env.TRAVIS_BRANCH is "master" )
grunt.task.run [
"copy:deploy"
"gh-pages:travis"
Expand Down

0 comments on commit 08b9bc8

Please sign in to comment.