Skip to content

Commit

Permalink
リリースだけ (masterブランチだけ) をデプロイ.
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuhito committed Aug 31, 2015
1 parent 9a75b7c commit ec1a651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/deploy.rake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# rubocop:disable LineLength
task :deploy do
if ENV['TRAVIS_BRANCH'] != 'develop'
fail 'This is not a develop branch. No deployment will be done.'
if ENV['TRAVIS_BRANCH'] != 'master'
fail 'This is not a master branch. No deployment will be done.'
end
if ENV['TRAVIS_PULL_REQUEST'] != 'false'
fail 'This is a pull request. No deployment will be done.'
Expand Down

0 comments on commit ec1a651

Please sign in to comment.