diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/forms-backend.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/sentry-release.yml | 24 | 
2 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/forms-backend.yml b/.github/workflows/forms-backend.yml index 1d7502b..80c53d6 100644 --- a/.github/workflows/forms-backend.yml +++ b/.github/workflows/forms-backend.yml @@ -105,6 +105,8 @@ jobs:            tags: |              ghcr.io/python-discord/forms-backend:latest              ghcr.io/python-discord/forms-backend:${{ steps.sha_tag.outputs.tag }} +          build-args: | +            git_sha=${{ github.sha }}    deploy:      name: Deployment diff --git a/.github/workflows/sentry-release.yml b/.github/workflows/sentry-release.yml new file mode 100644 index 0000000..243f170 --- /dev/null +++ b/.github/workflows/sentry-release.yml @@ -0,0 +1,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@  |