Rollbar recipe
Installing
Install with composer
composer require deployer/recipes --devAdd to your deploy.php
require 'recipe/rollbar.php';Configuration
rollbar_token– access token to rollbar api-
rollbar_comment– comment about deploy, default toset('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 deploy:rollbar task should be executed right at the end.
after('deploy', 'deploy:rollbar');