Skip to content

Commit

Permalink
cd: change New Relic marker on redeployment
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-gs authored Jul 17, 2024
1 parent 7eeb7bb commit b81f5fd
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/new-relic-change-tracking.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Change Tracking Marker
on:
release:
types: [published]

jobs:
newrelic:
runs-on: ubuntu-latest
name: New Relic
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 }}
guid: ${{ secrets.NEW_RELIC_DEPLOYMENT_ENTITY_GUID }}
version: "${{ env.RELEASE_VERSION }}"
user: "${{ github.actor }}"
region: EU

0 comments on commit b81f5fd

Please sign in to comment.