Skip to content

Commit

Permalink
Migration to official Sentry release CI action (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xithrius authored Jul 5, 2024
1 parent 825c502 commit 6f17329
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/create_sentry_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,24 @@ jobs:

- name: Create Sentry release (production)
if: github.ref == 'refs/heads/main'
uses: tclindner/sentry-releases-action@v1.2.0
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: python-discord
SENTRY_PROJECT: forms-frontend
with:
environment: production
sourceMapOptions: '{"include": ["build"]}'
tagName: ${{ steps.commit-sha.outputs.sha }}
releaseNamePrefix: forms-frontend@
sourcemaps: './build'
version_prefix: forms-frontend@

- name: Create Sentry release (deploy preview)
if: github.ref != 'refs/heads/main'
uses: tclindner/sentry-releases-action@v1.2.0
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: python-discord
SENTRY_PROJECT: forms-frontend
with:
environment: deploy-preview
sourceMapOptions: '{"include": ["build"]}'
tagName: ${{ steps.commit-sha.outputs.sha }}
releaseNamePrefix: forms-frontend@
sourcemaps: './build'
version_prefix: forms-frontend@

0 comments on commit 6f17329

Please sign in to comment.