Skip to content

Commit 2afcd7f

Browse files
authored
chore: push Datadog Release Metric upon deploy success (#1166)
1 parent 61d84f2 commit 2afcd7f

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
@@ -66,6 +66,11 @@ jobs:
6666
make release
6767
dotnet nuget push **/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
6868
69+
- name: Submit metric to Datadog
70+
uses: sendgrid/dx-automator/actions/datadog-release-metric@main
71+
env:
72+
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}
73+
6974
notify-on-failure:
7075
name: Slack notify on failure
7176
if: failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')

0 commit comments

Comments
 (0)