Created
March 9, 2016 10:58
-
-
Save djGrill/6d4bf8123da9de95c72d to your computer and use it in GitHub Desktop.
Record deployment in New Relic
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
git_hash=$(git rev-parse --short HEAD) | |
curl -X POST -H "x-api-key:asdf1234" --data "deployment[app_name]=&deployment[revision]=${git_hash}" https://api.newrelic.com/deployments.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment