> Looks very interesting... but it looks like a Rails/Capistrano plugin, not > purely Capistrano.
Correct, it is both a Rails plugin and a Capistrano plugin. It leverages ActionMailer for easy setup. It might be easy to unhook from the rest of rails, but I have no reason to try... all I do is rails. All day, all night, every day ;) > I'm also curious, how do you decide when to send the email? You add a task to your deploy script, I call mine deploy:notify and add a hook to it wherever you want. I hook mine so it is the last thing that runs, so I know the deploy actually did all work. Basically it gives you a method that you could call from any task, so you don't really need deploy:notify, or a hook. You could just call the method from another pre-existing task. > I've got a hook sending mail after deploy:symlink, but it's a bit simpler; > it just runs the "sendmail" command on the remote host. (It's actually > Postfix, but it works well enough.) Yeah, that is the idea behind the pastie Mislav posted that is linked from the plugin homepage. I don't like re-rolling my own stuff every time I do a new site though, so I prefer having a shake 'n bake solution that I can reuse everywhere with little or no change. --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
