Skip to content

Commit bf9d028

Browse files
authoredMar 21, 2025
Update README.md
I just went through this process for the first time and noticed two opportunities to improve the docs here. 1. We tell customers to put the `new_relic_deploy.php` in the `private` directory, however, in the `pantheon.yml` config we call against the `/private/scripts` directory. 2. There are actually two places you want to change the User Key name if they don't use the default (terminus command, .php script), but the text could be interpreted as only being one (php script)
1 parent 99b759d commit bf9d028

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎new_relic_deploy/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ This example will show you how you can automatically log changes to your site in
99
Setting up this example is easy:
1010

1111
1. [Activate New Relic Pro](https://pantheon.io/docs/new-relic/#activate-new-relic-pro) within your site Dashboard.
12-
2. Get a [New Relic User Key](https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/)
13-
3. Using [Terminus Secrets Manager Plugin](https://github.com/pantheon-systems/terminus-secrets-manager-plugin), set a site secret for the API key just created (e.g. `new_relic_api_key`, if you name it something else, make sure to update in the script below). Make sure type is `runtime` and scope contains `web`.
12+
2. Get a [New Relic User Key](https://one.newrelic.com/launcher/api-keys-ui.api-keys-launcher)
13+
3. Using [Terminus Secrets Manager Plugin](https://github.com/pantheon-systems/terminus-secrets-manager-plugin), set a site secret for the API key just created (e.g. `new_relic_api_key`, if you name it something else, make sure to update in the Terminus command below, and within the `new_relic_deploy.php` script in Step 4). Make sure type is `runtime` and scope contains `web`.
1414
```
1515
terminus secret:site:set mysite new_relic_api_key --scope=web --type=runtime MY_API_KEY_HERE
1616
```
17-
4. Add the example `new_relic_deploy.php` script to the `private` directory of your code repository.
17+
4. Add the example `new_relic_deploy.php` script to the `/private/scripts/` directory of your code repository.
1818
5. Add a Quicksilver operation to your `pantheon.yml` to fire the script after a deploy.
1919
6. Test a deploy out!
2020

0 commit comments

Comments
 (0)
Please sign in to comment.