demarches-normaliennes/.github/workflows/sentry-release.yml
Pierre de La Morinerie 1a35ba1906 ci: use the tag (2021-09-12) for Sentry releases
Previously the commit sha1 was used, which was harder to read.
2021-03-25 14:47:46 +01:00

19 lines
443 B
YAML

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
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: rails
with:
environment: production
version: ${{ github.ref }}