Skip to content

Instantly share code, notes, and snippets.

@willscripted
Created August 27, 2015 20:19
Show Gist options
  • Save willscripted/bb80df1040268bcb46c4 to your computer and use it in GitHub Desktop.
Save willscripted/bb80df1040268bcb46c4 to your computer and use it in GitHub Desktop.
Deploy all Geoffs
#!/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