Add to your deploy.php
newrelic_app_id– newrelic's app id
newrelic_api_key– newrelic's api key
newrelic_description– message to send
Since you should only notify New Relic of a successful deployment, the
newrelic:notify task should be executed right at the end.
Notifying New Relic of deployment.