From 236dfa30ba65a188e6d616316dc59dc34b037098 Mon Sep 17 00:00:00 2001 From: adorableco Date: Fri, 11 Oct 2024 15:37:28 +0900 Subject: [PATCH] Feat: newrelic change tracking --- .github/workflows/production-cd.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/production-cd.yml b/.github/workflows/production-cd.yml index dcac3ed..657bf01 100644 --- a/.github/workflows/production-cd.yml +++ b/.github/workflows/production-cd.yml @@ -8,6 +8,24 @@ permissions: contents: read jobs: + newrelic: + runs-on: ubuntu-latest + + name: New Relic + + 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: 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 }}" + build: runs-on: ubuntu-latest