summaryrefslogtreecommitdiff
path: root/doc/integration/slack.md
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-04-25 00:48:22 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-06-03 23:16:31 +0200
commitfd348de76d651d49acc8eb742cc647dc777ef5fc (patch)
tree26f42bef57c9a636eff0a548a29cb1e2e6d12c8c /doc/integration/slack.md
parentde1a7aa7eb523cf2fdad12f8eeda2ba4c5b51820 (diff)
downloadgitlab-ce-fd348de76d651d49acc8eb742cc647dc777ef5fc.tar.gz
Update docs to markdown style guide.
Diffstat (limited to 'doc/integration/slack.md')
-rw-r--r--doc/integration/slack.md42
1 files changed, 22 insertions, 20 deletions
diff --git a/doc/integration/slack.md b/doc/integration/slack.md
index 057871a4b8e..95cb0c6fae2 100644
--- a/doc/integration/slack.md
+++ b/doc/integration/slack.md
@@ -1,34 +1,36 @@
-# Slack integration
+# Slack integration
-### On Slack
+## On Slack
To enable Slack integration you must create an Incoming WebHooks integration on Slack;
-
-1. Sign in to [Slack](https://slack.com) (https://YOURSUBDOMAIN.slack.com/services)
-2. Click on the Integrations menu at the top of the page.
-3. Add a new Integration.
-4. Pick Incoming WebHooks
-5. Choose the channel name you want to send notifications to, in the Settings section
-6. Add Integrations.
- * Optional step; You can change bot's name and avatar by clicking "change the name of your bot", and "change the icon" after that you have to click "Save settings".
+1. Sign in to [Slack](https://slack.com) (https://YOURSUBDOMAIN.slack.com/services)
+1. Click on the Integrations menu at the top of the page.
+1. Add a new Integration.
+1. Pick Incoming WebHooks
+1. Choose the channel name you want to send notifications to, in the Settings section
+1. Add Integrations.
+ - Optional step; You can change bot's name and avatar by clicking "change the name of your bot", and "change the icon" after that you have to click "Save settings".
Now, Slack is ready to get external hooks. Before you leave this page don't forget to get the Token that you'll need on GitLab. You can find it by clicking Expand button, located in the "Instructions for creating Incoming WebHooks" section. It's a random alpha-numeric text 24 characters long.
-### On GitLab
+## On GitLab
After Slack is ready we need to setup GitLab. Here are the steps to achieve this.
+1. Sign in to GitLab
+
+1. Pick the repository you want.
+
+1. Navigate to Settings -> Services -> Slack
+
+1. Fill in your Slack details
-1. Sign in to GitLab
-2. Pick the repository you want.
-3. Navigate to Settings -> Services -> Slack
-4. Fill in your Slack details
- * Mark as active it
- * Type your subdomain's prefix (If your subdomain is https://somedomain.slack.com you only have to type the somedomain)
- * Type in the token you got from Slack
- * Type in the channel name you want to use (eg. #announcements)
+ - Mark as active it
+ - Type your subdomain's prefix (If your subdomain is https://somedomain.slack.com you only have to type the somedomain)
+ - Type in the token you got from Slack
+ - Type in the channel name you want to use (eg. #announcements)
Have fun :)
-_P.S. You can set "branch,pushed,Compare changes" as highlight words on your Slack profile settings, so that you can be aware of new commits when somebody pushes them._
+*P.S. You can set "branch,pushed,Compare changes" as highlight words on your Slack profile settings, so that you can be aware of new commits when somebody pushes them.*