diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 141f8e53..db32fa3a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -45,3 +45,21 @@ jobs: poetry run ./manage.py compilemessages sudo systemctl restart uwsgi + + sentry: + runs-on: ubuntu-latest + environment: production + timeout-minutes: 30 + needs: deployment + steps: + - uses: actions/checkout@v4 + + - name: Sentry Release + uses: getsentry/action-release@v1.7.0 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: ${{ secrets.SENTRY_ORG }} + SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} + SENTRY_URL: ${{ secrets.SENTRY_URL }} + with: + environment: production \ No newline at end of file