forked from chaynHQ/bloom-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 1.16 KB
/
newrelic-release-tracking.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 for the APM entity
- name: New Relic Application Deployment Marker
uses: newrelic/deployment-marker-action@v2.2.0
with:
apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
region: 'EU'
guid: ${{ secrets.NEW_RELIC_DEPLOYMENT_ENTITY_GUID_App }}
version: '${{ env.COMMIT_REF }}'
user: '${{ github.actor }}'
# This step creates a new Change Tracking Marker for the Browser entity
- name: New Relic Browser Deployment Marker
uses: newrelic/deployment-marker-action@v2.2.0
with:
apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
region: 'EU'
guid: ${{ secrets.NEW_RELIC_DEPLOYMENT_ENTITY_GUID_Browser }}
version: '${{ env.COMMIT_REF }}'
user: '${{ github.actor }}'