We don't use capistrano, but I guess I could accomplish the same thing
by writing a simple rake task to first push to heroku, then call some
heroku rake tasks.

On Aug 5, 2:20 pm, David Balatero <[email protected]> wrote:
> I set my cap deploy to do a git push heroku master, then deploy to my Resque
> machines on EC2. Works like a charm, just requires your team to use cap
> deploy instead of git push.
>
>
>
> On Wed, Aug 4, 2010 at 3:18 PM, marcel <[email protected]> wrote:
> > I'd like to run a few things after I deploy, like clear out memcache
> > and send a deploy message to NewRelic. Is there a way to have heroku
> > call a rake task or something after I push?
>
> > Sure I can call 'heroku rake XXX' after I deploy, but I'd rather not
> > have the possibility of anyone on the team forgetting. It would be
> > even cooler if a failure of the rake task would trigger a rollback of
> > the entire deploy...
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Heroku" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<heroku%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/heroku?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to