Created
August 27, 2015 20:19
-
-
Save willscripted/bb80df1040268bcb46c4 to your computer and use it in GitHub Desktop.
Deploy all Geoffs
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
#!/usr/bin/env bash | |
curl -H "Content-type: application/json" -X POST \ | |
-d '{ | |
"service_key": "--------YOURKEYHERE-------", | |
"event_type": "trigger", | |
"description": "A developer is in trouble!", | |
"client": "Geoff deployment cli", | |
"client_url": "http://butt.holdings", | |
"details": { | |
}, | |
"contexts":[{ | |
"type": "image", | |
"src": "http://images.fastcompany.com/upload/inline-Internet-defense-league-batman.jpg" | |
} | |
] | |
}' \ | |
"https://events.pagerduty.com/generic/2010-04-15/create_event.json" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment