Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'hotfix/remove-git-remote-on-deploy'

* hotfix/remove-git-remote-on-deploy:
  Remove git remote silently on deploy from CI
  • Loading branch information...
commit 8f4476cbdc6307354eee7c655a4933a0f215d56b 2 parents d82f551 + 3944a15
Timur Vafin timurvafin authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  script/ci_deploy
1  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
Please sign in to comment.
Something went wrong with that request. Please try again.