【发布时间】:2016-04-08 11:53:11
【问题描述】:
有 ROR 应用程序,托管在 Linode.com,源代码托管在 Bitbucket.org。使用 Capistrano 3.1 部署我的 ROR 应用程序。当我执行以下命令时:
cap 生产 git:check
一切正常,可以建立连接,但是当我尝试调用时
上限生产部署
从原点获取时返回错误
Command: cd /home/user/app/repo && /usr/bin/env git remote update
Fetching origin
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
error: Could not fetch origin
非常感谢任何帮助。
【问题讨论】:
标签: ruby-on-rails deployment bitbucket linode