Cap production deploy error: git permission deniedI have

Cap production deploy error: git permission deniedI have

我一直在关注https://gorails.com/deploy/ubuntu/16.04 部署到服务器,但出现以下错误。

00:00 git:check
      01 git ls-remote git@github.com:walsh259/market2.git HEAD
      01 Permission denied (publickey).
      01 fatal: Could not read from remote repository.
      01
      01 Please make sure you have the correct access rights
      01 and the repository exists.

有没有人遇到同样的问题?

在使用您用于身份验证的 public 密钥进行身份验证时,您无权访问存储库 walsh259/market2

This Github Article 应该会为您指明正确的方向。检查部署密钥