deployer/docs/contrib/rollbar.md
Anton Medvedev 4bdf95ebda Update docs
2022-09-12 12:29:44 +02:00

1021 B
Raw Blame History

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 `{{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');

Configuration

rollbar_comment

Source

'_{{user}}_ deploying `{{branch}}` to *{{target}}*'

Tasks

rollbar:notify

Source

Notifies Rollbar of deployment.