Permalink
Browse files

Remove git remote silently on deploy from CI

  • Loading branch information...
1 parent d82f551 commit 3944a1586ef107b9135bfddc5c7e2fd9fe0edb0f @timurvafin timurvafin committed Oct 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 script/ci_deploy
View
@@ -38,6 +38,7 @@ def prepare_ssh
end
def prepare_git
+ system('git remote rm heroku 2>/dev/null')
system("git remote add heroku git@heroku.com:#{HEROKU_APP}.git") || exit(1)
end

0 comments on commit 3944a15

Please sign in to comment.