Merge pull request #5508 from betagouv/publish-releases-on-sentry
ci: ajout d'un workflow GitHub Actions pour publier les releases sur Sentry
This commit is contained in:
commit
e1af27984f
1 changed files with 18 additions and 0 deletions
18
.github/workflows/sentry-release.yml
vendored
Normal file
18
.github/workflows/sentry-release.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
name: Publish release on Sentry
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Sentry Release
|
||||||
|
uses: getsentry/action-release@v1.0.0
|
||||||
|
env:
|
||||||
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
|
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||||
|
SENTRY_PROJECT: rails
|
||||||
|
with:
|
||||||
|
environment: production
|
Loading…
Reference in a new issue