我試圖創建2個不同的Heroku應用程序使用相同的代碼與同一個git存儲庫。 App1是由我的朋友在Heroku中創建的,我不是合作者,app2是我嘗試部署的同一個git存儲庫的分支。這可能嗎?使用相同的代碼和git存儲庫部署2個不同的heroku應用程序
我得到當我嘗試部署的第二個應用的Heroku的錯誤:
$ git push heroku branch1:master
! [email protected] not authorized to access app1
fatal: The remote end hung up unexpectedly
thanks @John!完成它:)'git remote -v'然後'git remote add staging'訣竅:) –
Sayanee
仍然沒有回答多個應用程序的問題。我想你需要圍繞多個.Profiles來部署不同的應用程序。 – Patricio