Hi everyone,

Newbie question here... Just trying to get capistrano working for the
first time. I am using 1.99.2.

My problem is this: after deploy:update_code checks out my source
tree, I need to perform a couple of extra tasks before the other tasks
take place. Is there any way for me to override this task so I can add
in a couple of custom lines?

Basically what I want to do to :update_code is this:

  task :update_code, :except => { :no_release => true } do
    on_rollback { run "rm -rf #{release_path}; true" }
    strategy.deploy!

    # Add a couple of lines here

    finalize_update
  end

Is there any way to do this in my capfile, without hacking the .../
capistrano/recipes/deploy.rb file?

I appreciate any help you guys can provide me.

Thanks in advance,

Fred


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to