Merge pull request #477 from chaynHQ/develop #19
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
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 | |
- 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.COMMIT_REF }}' | |
user: '${{ github.actor }}' |