Skip to content

Commit

Permalink
feat: adds newrelic monitoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
lopesdasilva committed Feb 20, 2024
1 parent c886427 commit 2fb05af
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/deployment-marker-action@v2.3.0
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 2fb05af

Please sign in to comment.