Capistrano deploy fails after I changed the repository URL

前端 未结 10 699
野性不改
野性不改 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 02:15

    I gotta say I’m not sure, since I haven’t been able to test this but this should work:

    cap deploy:cleanup -s keep_releases=0
    

    Since it wipes every release (cache) from the server.

    Apparently you will also need to remove shared/cached-copy, because this doesn’t seem to be cleaned by the Capistrano call above according to the comment below.

提交回复
热议问题