From a988b828779ee6eb57fafe588bf198d26ae75deb Mon Sep 17 00:00:00 2001 From: tristanhollman Date: Tue, 21 May 2024 22:08:29 +0200 Subject: [PATCH] Update workflow to track changes in New Relic (#23) --- .../workflows/deploy-static-content-to-pages.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/deploy-static-content-to-pages.yml b/.github/workflows/deploy-static-content-to-pages.yml index ffa7998..882550f 100644 --- a/.github/workflows/deploy-static-content-to-pages.yml +++ b/.github/workflows/deploy-static-content-to-pages.yml @@ -53,3 +53,16 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 + # 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 }}" + description: "Automated Release via Github Actions" + commit: "${{ github.sha }}"