I am trying to configure multiple roles, one for live and one for dev. They look like this:
role :live, "example.com"
role :dev, "dev.example.com"
However, when I start the cover deployment, it runs for both servers. I tried the following and it always runs on both.
cap deploy live
cap ROLE=live deploy
What am I missing? I know that I can write a custom task that responds to only one role, but I do not want to write a whole bunch of tasks to tell her to respond to one role. Thank!
source
share