Skip to content

Commit

Permalink
chore: push Datadog Release Metric upon deploy success (#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
eshanholtz authored Feb 28, 2022
1 parent 97a509b commit 0136633
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 0136633

Please sign in to comment.