Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 696 Bytes

rollbar.md

File metadata and controls

36 lines (24 loc) · 696 Bytes

Rollbar recipe

Installing

Install with composer

composer require deployer/recipes --dev

Add to your deploy.php

require 'recipe/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

Tasks

  • rollbar:notify – send message to rollbar

Usage

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

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