How to deploy to a single specific server using Capistrano

后端 未结 5 1518
半阙折子戏
半阙折子戏 2020-12-12 10:10

I have a system in production that has several servers in several roles. I would like to test a new app server by deploying to that specific server, without having to redepl

5条回答
  •  暖寄归人
    2020-12-12 10:48

    I have similar problem and tried the following. It works:

    cap production ROLES=web HOSTS=machine1 stats
    

提交回复
热议问题