docs/contrib/newrelic.md
require 'contrib/newrelic.php';
newrelic_app_id – newrelic's app idnewrelic_api_key – newrelic's api keynewrelic_description – message to sendnewrelic_endpoint – newrelic's REST API endpointSince you should only notify New Relic of a successful deployment, the newrelic:notify task should be executed right at the end.
after('deploy', 'newrelic:notify');
:::info Required Throws exception if not set. :::
return runLocally('git log -n 1 --format="%an: %s" | tr \'"\' "\'"');
return runLocally('git log -n 1 --format="%h"');
'api.newrelic.com'
Notifies New Relic of deployment.