Skip to content

Commit 9a06318

Browse files
authored
chore: push Datadog Release Metric upon deploy success (#721)
1 parent 1ca4a08 commit 9a06318

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ jobs:
7272
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
7373
run: mvn clean deploy -DskipTests=true -B -U -Prelease
7474

75+
- name: Submit metric to Datadog
76+
uses: sendgrid/dx-automator/actions/datadog-release-metric@main
77+
env:
78+
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}
79+
7580
notify-on-failure:
7681
name: Slack notify on failure
7782
if: failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')

0 commit comments

Comments
 (0)