Skip to content

Commit

Permalink
Add sentry release tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
jadolg committed Oct 31, 2023
1 parent f766974 commit 5c945aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@ jobs:
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
channel: 'shadowmere'
name: 'Deployment'
- name: Track release in sentry
run: |
curl https://sentry.io/api/hooks/release/builtin/${{ secrets.SENTRY_RELEASE_TRACKING }}/ \
-X POST \
-H 'Content-Type: application/json' \
-d '{"version": "${{ github.sha }}"}'

0 comments on commit 5c945aa

Please sign in to comment.