Capistrano + Git : repository local to production server

后端 未结 5 951
我寻月下人不归
我寻月下人不归 2020-12-08 08:48

I am trying to do \'deploy:cold\' for my app. The git repo is local to my deployment server (i.e. I only have one server for everything and I don\'t host my code on github).

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-08 09:10

    My problem was actually related to a known-hosts problem. All I had to do was make sure the remote git server was in my known hosts (trying to SSH into it for the first time will prompt you to add this yourself), and it worked like a charm.

提交回复
热议问题