deployer/docs/contrib/rollbar.md
2020-11-16 10:56:42 +01:00

1.1 KiB
Raw Blame History

rollbar

Source

Installing

Add to your deploy.php

require 'contrib/rollbar.php';

Configuration

  • rollbar_token access token to rollbar api
  • rollbar_comment comment about deploy, default to
    set('rollbar_comment', '_{{user}}_ deploying `{{branch}}` to *{{target}}*');
    
  • rollbar_username rollbar user name

Usage

Since you should only notify Rollbar channel of a successful deployment, the rollbar:notify task should be executed right at the end.

after('deploy', 'rollbar:notify');

Config

rollbar_comment

Source

Tasks

rollbar:notify

Source