diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4cd6e9..aa8754e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,6 +132,16 @@ jobs: *.cache-to=type=gha,scope=${{github.ref}},mode=max *.tags=${{ steps.meta.outputs.full_name }} + - name: Create Sentry release + uses: getsentry/action-release@v3 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: ${{ secrets.SENTRY_ORG }} + SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} + with: + release: ${{steps.meta.outputs.tag}} + environment: ${{ startsWith(github.ref, 'refs/tags/') && 'production' || (github.ref == 'refs/heads/main' && 'acceptance' || '') }} + - name: Trigger Portainer Deployment shell: bash env: