You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
New Relic Application Deployment Marker
v0.1.2
New Relic App Deployment Marker
A GitHub Action to add New Relic deployment markers during your release pipeline.
Key | Description | |
---|---|---|
apiKey |
required | Your New Relic personal API key. |
applicationId |
required | The New Relic application ID to apply the deployment marker. |
revision |
required | Metadata to apply to the deployment marker - e.g. the latest release tag |
user |
optional | The user creating the deployment. Default: github.actor |
region |
optional | The region of your New Relic account. Default: US |
accountId |
optional | The account number the application falls under. This could also be a subaccount. |
# Add a New Relic application deployment marker on release
on:
- release
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Apply New Relic deployment marker
uses: newrelic/deployment-marker-action@master
with:
apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
applicationId: <your application ID>
revision: "${{ github.ref }}-${{ github.sha }}"
user: "${{ github.actor }}" # optional
region: US # optional
accountId: <your New Relic account ID> # optional