Merge pull request #948 from ae-utbm/sentry

Enable sentry workflow again
This commit is contained in:
thomas girod 2024-12-15 18:36:46 +01:00 committed by GitHub
commit 830c752971
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,3 +45,21 @@ jobs:
poetry run ./manage.py compilemessages poetry run ./manage.py compilemessages
sudo systemctl restart uwsgi 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