Skip to content

Instantly share code, notes, and snippets.

@duckinator
Forked from metajack/irc.json
Created January 17, 2014 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duckinator/8470229 to your computer and use it in GitHub Desktop.
Save duckinator/8470229 to your computer and use it in GitHub Desktop.
{
"name": "irc",
"active": true,
"events": [
"issues",
"push",
"pull_request"
],
"config": {
"server": "irc.mozilla.org",
"port": "6697",
"room": "#servo",
"nick": "ghservo",
"ssl": "1",
"message_without_join": "0",
"no_colors": "0",
"notice": "0"
}
}
#!/bin/bash
owner=mozilla-servo
repo=$1
user=metajack
curl -i -u $user -X POST https://api.github.com/repos/$owner/$repo/hooks --data @irc.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment