开发者

Deploy with capistrano to different server directories at the same time

开发者 https://www.devze.com 2023-04-01 05:11 出处:网络
I\'m trying to modify my capistrano file to deploy into 2 different servers at the same time (don\'t really want to cap production1 deploy and cap production2 deploy and cap forever deploy) and there\

I'm trying to modify my capistrano file to deploy into 2 different servers at the same time (don't really want to cap production1 deploy and cap production2 deploy and cap forever deploy) and there's one restriction that I don't know how to solve: t开发者_如何学Gohe application must be deployed in different directories (let's say in /foo in server A and in the other in /bar in server B)

I tried to play with the deploy_to variable but with no luck, because looks to be a global one for all servers.

Anybody knows if there's a way to set it up per server?


You'll need to make both servers look the same with a symlink.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号