Please use New Relic's official Application Deployment Marker GitHub Action
New Relic App Deployment Marker
A GitHub Action to add New Relic deployment markers during your release pipeline.
Key | Description | |
---|---|---|
api_key |
required | Your New Relic personal API key. |
applicationId |
required | The New Relic application ID to apply the deployment marker. |
region |
optional | The region of your New Relic account. Default: "US" |
revision |
optional | Metadata to apply to the deployment marker - e.g. the latest release tag |
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: sanderblue/newrelic-deployment-marker@master
with:
api_key: ${{ secrets.NEW_RELIC_API_KEY }}
applicationId: 123456789
region: US
revision: ${{ github.ref }}-${{ github.sha }}
accountId: 6543210