Created
October 14, 2010 10:27
-
-
Save zev/625991 to your computer and use it in GitHub Desktop.
newrelic appcloud deploy
This file contains hidden or 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
def notify_new_relic | |
run "cd #{release_path} && newrelic_cmd deployments -r `git log -1 --pretty=format:%H | head` || /bin/true" | |
end | |
on_app_master do | |
notify_new_relic | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment