From 653d7d51bb9aba6886e6d7dcfd9aab5171402f58 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Thu, 27 Aug 2020 16:22:18 +0200 Subject: [PATCH] ci: add workflow to publish releases to Sentry See https://blog.sentry.io/2020/07/30/automate-release-management-with-the-sentry-release-github-action --- .github/workflows/sentry-release.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/sentry-release.yml diff --git a/.github/workflows/sentry-release.yml b/.github/workflows/sentry-release.yml new file mode 100644 index 000000000..e1d5050d3 --- /dev/null +++ b/.github/workflows/sentry-release.yml @@ -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