@@ -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 :
2222If 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 ` )
25251 . Create New Notification
26261 . 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/ `
29341 . 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