Skip to content

Merge pull request #376 from chaynHQ/develop #2

Merge pull request #376 from chaynHQ/develop

Merge pull request #376 from chaynHQ/develop #2

name: New Relic Release Tracking
on:
push:
branches: [main]
jobs:
newrelic:
runs-on: ubuntu-latest
name: New Relic Release Tracking
steps:
# This step builds a var with the release tag value to use later
- name: Set Release Version from Tag
run: echo "COMMIT_REF=${{ github.ref_name }}" >> $GITHUB_ENV
# This step creates a new Change Tracking Marker
- name: New Relic Application Deployment Marker
uses: newrelic/[email protected]
with:
apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
region: 'US'
guid: ${{ secrets.NEW_RELIC_DEPLOYMENT_ENTITY_GUID }}
version: '${{ env.COMMIT_REF }}'
user: '${{ github.actor }}'