新仓库,生产问题
|
我在生产服务器上部署项目时遇到问题。我们使用Capistrano和Passenger。问题是我们将GitHub上的项目存储库移到了另一个帐户。我在文件deploy.rb中更改了存储库地址,但是,在“ cap生产部署”过程中,生产服务器进行了身份验证后,Capistrano正在寻找一个旧的存储库,该存储库失败了。我怀疑这是对git。生产上的仓库,但是我不知道该怎么做。
servers: [\"85.xxx.xxx.xxx\"]
Password:
[85.xxx.xxx.xx] executing command
** [85.xxx.xxx.xx:: err] ERROR: repo / repo.git does not exist. Did you enter it correctly?
** [85.xxx.xxx.xx:: err] fatal: The remote end hung up unexpectedly
command finished in 4220ms
*** [deploy: update_code] rolling back
没有找到相关结果
已邀请:
1 个回复
丧泉缝锋
并修改此处列出的git repo。如果您使用的是
方法,它将保留本地git repo并在远程计算机上对其进行更新。将其指向您的新git repo,您应该会很好。