Skip to content

Commit

Permalink
chore: push Datadog Release Metric upon deploy success (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
eshanholtz authored Feb 28, 2022
1 parent 1101132 commit 542c69c
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 @@ -59,6 +59,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_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 542c69c

Please sign in to comment.