Re: custom post_commit hook?

2010-08-09 Thread marcel
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 dbalat...@gmail.com 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 mpoi...@gmail.com 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 her...@googlegroups.com.
  To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
  .
  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 her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



custom post_commit hook?

2010-08-05 Thread marcel
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 her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.