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

Feature: Add support for conditional slack notifications #6

Open
jjpatel361 opened this issue Oct 17, 2020 · 1 comment
Open

Feature: Add support for conditional slack notifications #6

jjpatel361 opened this issue Oct 17, 2020 · 1 comment

Comments

@jjpatel361
Copy link

jjpatel361 commented Oct 17, 2020

Use case

It would be great to add built-in support to conditionally send slack notifications. One use case is, send notification only for specific deploys Prod / QA and not dev or feature branches.

Suggested

custom:
  notification:
    deployer: /* Default deployer name*/
    slack:
      enabled: {{self:provider.stage}}

enabled flag is true we perform notification.

Since sendNotification is the sink of all promises might as well put it there. or skip the entire promise chaining.

Also thanks for this plugin. 🙏

@hieuunguyeen
Copy link
Contributor

Hi 👋 I haven't been actively maintain this plugin. If you could open a PR for it I'll happy to take!

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

No branches or pull requests

2 participants