Capistrano deploy fails after I changed the repository URL

前端 未结 10 716
野性不改
野性不改 2021-01-30 01:24

I have a simple deployment via capistrano from a Git repository. At first I was deploying form GitHub, everything worked just fine. But then I moved my repository to BitBucket a

10条回答
  •  余生分开走
    2021-01-30 01:52

    Capistrano 2 and below

    SSH to your server and update the repo in ./shared/cached-copy/.git/config of the deployment folder, or just remove the ./shared/cached-copy

    Capistrano 3 and above

    SSH to your server and update the repo in ./repo/config of the deployment folder.

    Check Fixing Capistrano 3 deployments after a repository change

提交回复
热议问题