From 88f5422065c01537a4792feb0645f649468b5764 Mon Sep 17 00:00:00 2001 From: Elise Shanholtz Date: Fri, 25 Feb 2022 16:15:23 -0800 Subject: [PATCH] chore: push Datadog Release Metric upon deploy success --- .github/workflows/test-and-deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index c4d2d59..22416e3 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -80,6 +80,11 @@ jobs: gem build *.gemspec gem push *.gem + - name: Submit metric to Datadog + uses: sendgrid/dx-automator/actions/datadog-release-metric@main + env: + DD_API_KEY: ${{ secrets.DATADOG_API_KEY }} + notify-on-failure: name: Slack notify on failure if: failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')