@auto-canary/slack
TypeScript icon, indicating that this package has built-in type declarations

8.1.0-canary.789.10408.0 • Public • Published

Slack Plugin

Post your release notes to a slack channel

Installation

This plugin is not included with the auto CLI installed via NPM. To install:

npm i --save-dev @auto-it/slack
# or
yarn add -D @auto-it/slack

Usage

To use the plugin include it in your .autorc

{
  "plugins": [
    ["slack", { "url": "https://url-to-your-slack-hook.com" }],
    // or
    ["slack", "https://url-to-your-slack-hook.com"],
    // or
    [
      "slack",
      { "url": "https://url-to-your-slack-hook.com", "atTarget": "here" }
    ]
  ]
}

This URL should be to you webhook. If you require a token to post to a slack hook, make sure you have a SLACK_TOKEN variable available on your environment. This token will be added to eh URL as a query string parameter.

Package Sidebar

Install

npm i @auto-canary/slack

Weekly Downloads

3

Version

8.1.0-canary.789.10408.0

License

none

Unpacked Size

12.4 kB

Total Files

8

Last publish

Collaborators

  • alisowski
  • hipstersmoothie-canary