You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/administration-guide/notifications/slack.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,22 +11,22 @@ To set up Slack notifications, you need to create a webhook URL that connects Se
11
11
12
12
## Creating Slack webhook
13
13
14
-
### Step 1. Open Slack API Settings
14
+
### Step 1. Open Slack API settings
15
15
16
16
1. Go to [https://api.slack.com/apps](https://api.slack.com/apps).
17
17
2. Click **Create New App** → choose **From Scratch**.
18
18
3. Give your app a name (e.g., `Semaphore Bot`) and select your **Slack workspace**.
19
19
20
20
---
21
21
22
-
### Step 2. Enable Incoming Webhooks
22
+
### Step 2. Enable incoming webhooks
23
23
24
24
1. Inside the app settings, go to **Features → Incoming Webhooks**.
25
25
2. Switch **ctivate Incoming Webhooks** → **On**.
26
26
27
27
---
28
28
29
-
### Step 3. Create a Webhook URL
29
+
### Step 3. Create a webhook URL
30
30
31
31
1. Click **dd New Webhook to Workspace**.
32
32
2. Select the xxchannelxx where messages should be sent.
@@ -39,7 +39,7 @@ To set up Slack notifications, you need to create a webhook URL that connects Se
39
39
40
40
---
41
41
42
-
### Step 4. Test Your Webhook
42
+
### Step 4. Test your webhook
43
43
44
44
Use `curl` to test:
45
45
@@ -56,11 +56,9 @@ If everything is set up, you’ll see the message in the selected Slack channel.
56
56
57
57
Once you have your Slack webhook URL, you can configure Semaphore to send notifications in several ways:
58
58
59
-
### Configuration Methods
60
-
61
59
You can enable Slack notifications using either configuration files or environment variables.
62
60
63
-
####Method 1: Configuration File
61
+
### Method 1: Configuration file
64
62
65
63
Add the following settings to your Semaphore configuration file:
66
64
@@ -76,12 +74,10 @@ Add the following settings to your Semaphore configuration file:
76
74
}
77
75
```
78
76
79
-
####Method 2: Environment Variables
77
+
### Method 2: Environment variables
80
78
81
79
Alternatively, you can use environment variables to configure Slack notifications. This method is particularly useful for containerized deployments or when you want to keep sensitive information separate from configuration files.
0 commit comments