Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (21 loc) · 596 Bytes

newrelic.md

File metadata and controls

36 lines (21 loc) · 596 Bytes

New Relic recipe

Installing

Install with composer

composer require deployer/recipes --dev

Add to your deploy.php

require 'recipe/newrelic.php';

Configuration

  • newrelic_app_id – newrelic's app id
  • newrelic_api_key – newrelic's api key
  • newrelic_description – message to send

Tasks

  • newrelic:notify – notifies New Relic of a new deployment

Usage

Since 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');