Skip to content

Commit

Permalink
chore: push Datadog Release Metric upon deploy success (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
eshanholtz authored Feb 28, 2022
1 parent fccc5d8 commit ac9c0f7
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 @@ -80,6 +80,11 @@ jobs:
gem build *.gemspec
gem push *.gem
- 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 ac9c0f7

Please sign in to comment.