deployer/docs/contrib/rollbar.md
Anton Medvedev 47a193f9af
Add docgen
2020-10-02 01:11:13 +03:00

961 B
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