Skip to content

Commit 206ed1d

Browse files
authored
chore: push Datadog Release Metric upon deploy success (#109)
1 parent cdba15b commit 206ed1d

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
@@ -51,6 +51,11 @@ jobs:
5151
make test
5252
dotnet nuget push **/SendGrid*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
5353
54+
- name: Submit metric to Datadog
55+
uses: sendgrid/dx-automator/actions/datadog-release-metric@main
56+
env:
57+
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}
58+
5459
notify-on-failure:
5560
name: Slack notify on failure
5661
if: failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')

0 commit comments

Comments
 (0)