Skip to content

Instantly share code, notes, and snippets.

@jasonm
Forked from jfernandez/after_restart.rb
Created May 24, 2010 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jasonm/411947 to your computer and use it in GitHub Desktop.
Save jasonm/411947 to your computer and use it in GitHub Desktop.
Notify Hoptoad of deploys to Engine Yard Cloud
hoptoad_deploy_environments = %w(staging production)
if hoptoad_deploy_environments.include?(@configuration[:environment])
# Notify Hoptoad of deploy
run "cd #{release_path} && rake hoptoad:deploy TO=#{@configuration[:environment]} REVISION=#{@configuration[:revision]} REPO=#{@configuration[:repository]}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment