Skip to content

Commit

Permalink
chore: push Datadog Release Metric upon deploy success (sendgrid#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
eshanholtz authored Feb 28, 2022
1 parent 6ef5e9a commit 4c78c28
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- 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')
Expand Down

0 comments on commit 4c78c28

Please sign in to comment.