Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Slack support - report deployed pull-requests to a Slack channel #11

Merged
merged 1 commit into from
Jan 4, 2015

Conversation

rtyley
Copy link
Member

@rtyley rtyley commented Jan 4, 2015

Users can configure a Slack hook for prout by creating a new Slack 'Incoming Webhook':

https://your-domain.slack.com/services/new/incoming-webhook

...this will get you a 'Webhook URL', which looks something like this:

https://hooks.slack.com/services/T05FTQF9H/B012N1Y2Y/p9VyRC1ZlTqNGuu

...stick that url into a GitHub webhook for your repo as the 'Payload URL':

https://github.com/my-org/my-repo/settings/hooks/new

...and then disable the hook in GitHub! You don't actually want to send GitHub events to the hook - this is just a place to store the private url where Prout can find it. Note that prout needs repo-admin access in order to read the hook data!

This comes from @tackley's request for Ophan - he wants a way for users who don't have GitHub access to see features as they're released. Slack has a lower bar to entry for some of our users...

cc @tackley @philwills

Users can configure a Slack hook for prout by creating a new Slack
'Incoming Webhook':

https://your-domain.slack.com/services/new/incoming-webhook

...this will get you a 'Webhook URL', which looks something like this:

https://hooks.slack.com/services/T05FTQF9H/B012N1Y2Y/p9VyRC1ZlTqNGuu

...stick that url into a GitHub webhook for your repo as the 'Payload URL':

https://github.com/my-org/my-repo/settings/hooks/new

...and then **disable** the hook in GitHub! You don't actually want to send
_GitHub_ events to the hook - this is just a place to store the private
url where Prout can find it. Note that prout needs repo-admin access
in order to read the hook data!
rtyley added a commit that referenced this pull request Jan 4, 2015
Add Slack support - report deployed pull-requests to a Slack channel
@rtyley rtyley merged commit 7c73df9 into master Jan 4, 2015
@rtyley rtyley deleted the slack branch January 4, 2015 11:26
@prout-bot
Copy link
Contributor

Seen on PROD (merged by @rtyley 1 hour, 6 minutes and 12 seconds ago). Please check your changes!

@philwills
Copy link

OK, have had a go at adding this for Ophan. Let's see how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants