-
-
Save jasonm/411947 to your computer and use it in GitHub Desktop.
Notify Hoptoad of deploys to Engine Yard Cloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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