-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4f856f
commit 8d1cd1e
Showing
3 changed files
with
37 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: New Relic Release Tracking | ||
|
||
on: | ||
release: | ||
types: [published] | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
|
@@ -11,13 +11,13 @@ jobs: | |
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 | ||
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: 'EU' | ||
guid: ${{ secrets.NEW_RELIC_DEPLOYMENT_ENTITY_GUID }} | ||
version: '${{ env.RELEASE_VERSION }}' | ||
version: '${{ env.COMMIT_REF }}' | ||
user: '${{ github.actor }}' |