Skip to content

to :launch ... #261

@finger-berlin

Description

@finger-berlin

Hello,

I've just run into problems, while having the to :launch block inside the do deploy block all commands where not executed after deploy in the launch phase, they where instead executed in the deploy phase. Which might also explain why others had problems launching stuff in the final current_path...

So I've changed it like this:

  deploy do
    invoke :'git:clone'

[...]

    invoke :'deploy:cleanup'
  end

  to :launch do

Maybe the docs don't reflect the latest version or I've done completely wrong. Maybe someone can have a look at this.

Also using to :prepare outside/before the deploy do block helped, so I was able to stop delayed_job proper from the current app directory.

Hope this helps.

Cheers,

Alexander

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions