aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/sentry-release.yaml
blob: 2b943740c9c5b74de409f3c285a08973c0cf5577 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Create Sentry release

on:
  workflow_call

jobs:
  createSentryRelease:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v5

      - name: Create a Sentry.io release
        uses: getsentry/action-release@v3
        env:
          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
          SENTRY_ORG: python-discord
          SENTRY_PROJECT: site
        with:
          environment: production
          version_prefix: site@