Skip to main content
Version: 8.x

Rollbar Recipe

require 'contrib/rollbar.php';

Source

Configuration

  • rollbar_token – access token to rollbar api
  • rollbar_comment – comment about deploy, default to
    set('rollbar_comment', '_{{user}}_ deploying `{{what}}` to *{{where}}*');
  • 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');

Configuration

rollbar_comment

Source

Default value
'_{{user}}_ deploying `{{what}}` to *{{where}}*'

Tasks

rollbar:notify

Source

Notifies Rollbar of deployment.