symfony icon indicating copy to clipboard operation
symfony copied to clipboard

symfony_deploy_roles in place of symfony_roles

Open mocrates opened this issue 6 years ago • 2 comments

Hello,

I don't know if i do somethings wrong but:

When i have in my deploy.rb :

   # Role filtering
   set :symfony_roles, :web

It's don't execute symfony task as controllers_to_clear

But when I put :

set :symfony_deploy_roles, :web

Its work.

In symfony.rake it 's always fetch this var:

 on release_roles(fetch(:symfony_deploy_roles)) do
      within symfony_web_path do
        execute :rm, "-f", *fetch(:controllers_to_clear)
      end
    end

Whereas it's store in other var:

role = args[:role] || fetch(:symfony_roles)

I am not an expert in ruby that's why i not PR it and i am not sure about it

mocrates avatar Mar 21 '18 15:03 mocrates

Hm, I think it is the correct behavior. Im not sure though..

Nyholm avatar Mar 21 '18 17:03 Nyholm

Looks like this was introduced with #82.

nesl247 avatar Apr 23 '18 15:04 nesl247