Skip to content

symfony_deploy_roles in place of symfony_roles #90

@mocrates

Description

@mocrates

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions