#2567 Added logic to regenerate cfda_key (#2656) #8
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: Record Deployment And Add New Relic Monitor | |
on: | |
push: | |
branches: | |
- main | |
- prod | |
tags: | |
- v1.* | |
jobs: | |
newrelic: | |
runs-on: ubuntu-latest | |
name: New Relic Record Deployment | |
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: Add 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 }}" | |