Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
upload-cloud

GitHub Action

New Relic Application Deployment Marker

v0.2.0

New Relic Application Deployment Marker

upload-cloud

New Relic Application Deployment Marker

Apply a New Relic application deployment marker to an application that is monitored by New Relic

Installation

Copy and paste the following snippet into your .yml file.

              

- name: New Relic Application Deployment Marker

uses: newrelic/deployment-marker-action@v0.2.0

Learn more about this action in newrelic/deployment-marker-action

Choose a version

Community Project header

New Relic Application Deployment Marker

GitHub Marketplace version

A GitHub Action to add New Relic deployment markers during your release pipeline.

Inputs

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.

Example usage

# 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