Skip to content

Commit d951b6c

Browse files
authored
Update slack notifications guide (#440)
* Drop slack notifications guide * Update guide * Update slack_and_notifications.md * Update slack_and_notifications.md
1 parent 3c81cae commit d951b6c

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

slack_and_notifications.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,23 @@ it for you communicating the `[project-name]`.
2121
:warning: **You must have already setup [Automatic Deployment through SemaphoreCI](ruby_on_rails/configure_ci.md)** :warning:
2222
If you used Renuo CLI to configure SemaphoreCI, the notifications should be already created. For manual setup, follow these steps:
2323

24-
1. Open the project Notifications settings (`https://renuo.semaphoreci.com/notifications`)
24+
1. Open the global Notifications settings (`https://renuo.semaphoreci.com/notifications`)
2525
1. Create New Notification
2626
1. Name of the Notification -> `[project-name]`
27-
1. Name of the Rule -> `Slack notifications`
28-
1. Branches -> `main`
27+
28+
Add the following rules:
29+
30+
**deployment notifications**
31+
1. Name of the Rule -> `deployment notifications`
32+
1. Branches -> `main,develop`
33+
1. Pipelines -> `/.*-deploy.yml/`
2934
1. Slack Endpoint: Use the Webhook URL from other projects
30-
1. Send to Slack channel: `#project-[project-name]`
31-
1. Save changes
35+
1. Send to Slack channel: `#project-[project-name]-notifications`
3236

33-
> We do not want to pollute the channel with many notifications, therefore we suggest to only send a notification about
34-
> deployments to production.
37+
**build notifications**
38+
1. Name of the Rule -> `deployment notifications`
39+
1. Branches -> `main,develop`
40+
1. Pipelines -> `semaphore.yml`
41+
1. Results -> `failed`
42+
1. Slack Endpoint: Use the Webhook URL from other projects
43+
1. Send to Slack channel: `#project-[project-name]-notifications`

0 commit comments

Comments
 (0)