0
我一直在關注https://gorails.com/deploy/ubuntu/16.04 部署到服務器,但我得到以下錯誤。第生產部署錯誤:git權限被拒絕我有
00:00 git:check
01 git ls-remote [email protected]: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.
有沒有人有同樣的問題?
我用它來生成ssh密鑰,並將其添加到git hub,然後運行「sudo chown -R deploy:deploy/deploy/market2 /」這賦予權限並且正在工作。 – Walsh259