0.6.0 • Published 5 years ago

serverless-rollbar-deploys v0.6.0

Weekly downloads
14
License
MIT
Repository
github
Last release
5 years ago

serverless-rollbar-deploys

Send serverless deployment notifications to Rollbar.

Install

npm install --save-dev serverless-rollbar-deploys

Usage

Add the plugin and configure the accessToken and deployUser as demonstrated below.

plugins:
  - serverless-rollbar-deploys

custom:
  rollbar:
    accessToken: STRING_VALUE
    deployUser: ${env:USER}

Notes

  • The environment sent to Rollbar will be the stage option.
  • Remember that the plugins are executed in the order they are listed, so you probably want to list serverless-rollbar-deploys last.

Possible Improvements

  • Notify on other deployment events such as start and fail.
  • Only warn rather than fail if the any of the other variables are missing.