Skip to content

Commit

Permalink
Merge pull request #121 from LaurentGoderre/build-deploy
Browse files Browse the repository at this point in the history
Build: Prevents artifacts from feature branches from being pushed to the...
  • Loading branch information
LaurentGoderre committed Nov 19, 2014
2 parents 77ed686 + 08b9bc8 commit 47f9692
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 47f9692

Please sign in to comment.