Newline Proliferating Maniac

    mup-deploy-notifications

    0.5.1 • Public • Published

    Mup Deploy Notifications

    Sends Slack notifications when a deploy starts and when it 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

    221

    Version

    0.5.1

    License

    MIT

    Unpacked Size

    5.3 kB

    Total Files

    5

    Last publish

    Collaborators

    • zodern