New Relic recipe
Installing
Install with composer
composer require deployer/recipes --devAdd to your deploy.php
require 'recipe/newrelic.php';Configuration
newrelic_app_id– newrelic’s app idnewrelic_api_key– newrelic’s api keynewrelic_description– message to send
Tasks
newrelic:notify– notifies New Relic of a new deployment
Usage
Since you should only notify New Relic of a successfull deployment, the deploy:newrelic task should be executed right at the end.
after('deploy', 'deploy:newrelic');