Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

mup-deploy-notifications

0.6.0 • Public • Published

Mup Deploy Notifications

Mup plugin to sends a Slack notification when a deploy succeeds or fails.

Install it with:

npm install mup-deploy-notifications

and add it to your plugins array in your mup config:

module.exports = {
  // ... rest of config
 
  plugins: [ 'mup-deploy-notifications' ]
}

Next, add a deployNotifications object to your mup config:

module.exports = {
  // ... rest of config
 
  deployNotifications: {
    // Add the incoming webhooks app (https://slack.com/apps/A0F7XDUAZ-incoming-webhooks)
    // to get a webhook url
    slackWebhookUrl: 'https://hooks.slack.com/services/789/1234345/abcdefg',
    // Name of slack channel to receive the messages
    slackChannel: '#deploys'
  }
}

Keywords

none

Install

npm i mup-deploy-notifications

DownloadsWeekly Downloads

87

Version

0.6.0

License

MIT

Unpacked Size

5.69 kB

Total Files

5

Last publish

Collaborators

  • avatar