Capistrano + Git : repository local to production server

后端 未结 5 948
我寻月下人不归
我寻月下人不归 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 08:59

    Log in as the user of the site you are deploying to and try this to see if your user has permission to access that directory:

    ls -la /home/mrichman/git/myapp.git

    If you get a Permission denied error then you'll have to make sure that you set permissions on the enclosing directories of the repository that allow the deployment script to access the files.

提交回复
热议问题