ci: notify sentry of new releases

This commit is contained in:
Jens Langhammer 2020-07-07 14:09:28 +02:00
parent 363940ee8d
commit b048a1fb4f
1 changed files with 16 additions and 0 deletions

View File

@ -86,3 +86,19 @@ jobs:
docker-compose up --no-start
docker-compose start postgresql redis
docker-compose run -u root server bash -c "pip install --no-cache -r requirements-dev.txt && ./manage.py test"
sentry-release:
needs:
- test-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Create a Sentry.io release
uses: tclindner/sentry-releases-action@v1.2.0
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: beryjuorg
SENTRY_PROJECT: passbook
SENTRY_URL: https://sentry.beryju.org
with:
tagName: 0.9.0-pre5
environment: production