[capistrano] Re: Have a Task Only Fire Once

2011-07-22 Thread Eric Lubow
Specifically what I am getting at is a notification. I have a deploy task that deploys the website to all my webheads. Abbreviated task follows: task :production do set :default_environment {} roles :app one.foo.com, two.foo.com, three.foo.com deploy.notify_via_boxcar end This deploys to

Re: [capistrano] Re: Have a Task Only Fire Once

2011-07-22 Thread Donovan Bray
You've instructed capistrano to invoke method deploy.notify_via_boxcar when you call task production. If you wanted to deploy you still have to tell capistrano to deploy cap production deploy But the way you've wired your notify task it will fire before deploying. Again, EVERY task fires on