Capistrano: after_deploy doesn't run if I deploy_with_migrations

I've got an after_deploy task in my cap script. If I cap deploy, the
task executes. If I do cap deploy_with_migrations, it doesn't. Do I
have to define the deploy_with_migrations task to include this
after_deploy task?

Pat

You might try the capistrano mailing list. Due to the heavy traffic
here, the people who know a lot about capistrano might not see your post
here.

http://groups.google.com/group/capistrano

Pat Maddox wrote:

Pat-

I've got an after_deploy task in my cap script. If I cap deploy, the
task executes. If I do cap deploy_with_migrations, it doesn't. Do I
have to define the deploy_with_migrations task to include this
after_deploy task?

Pat

  Does the task you have really need to run after deploy? You could use after_restart and it will work in basically the exact same way but it will apply to either deploy or deploy_with_migrations

Cheers-
-- Ezra Zygmuntowicz-- Lead Rails Evangelist
-- ez@engineyard.com
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)

Yeah that's what I decided to do. Partly I was just curious why it
acted differently with deploy_with_migrations.

Pat