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

on:
  push:
    branches:
      - main

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

      - name: Create a Sentry.io release
        uses: tclindner/[email protected]
        env:
          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
          SENTRY_ORG: python-discord
          SENTRY_PROJECT: forms-backend
        with:
          tagName: ${{ github.sha }}
          environment: production
          releaseNamePrefix: forms-backend@