Skip to content

Commit

Permalink
Add New Relic release tracking (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
annarhughes authored Jan 8, 2024
1 parent 675dff8 commit feb73c9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/newrelic-release-tracking.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: New Relic Release Tracking
on:
release:
types: [published]
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 "RELEASE_VERSION=${{ 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: 'EU'
guid: ${{ secrets.NEW_RELIC_DEPLOYMENT_ENTITY_GUID }}
version: '${{ env.RELEASE_VERSION }}'
user: '${{ github.actor }}'

0 comments on commit feb73c9

Please sign in to comment.