on: push: tags: - '*' name: Publish release on Sentry jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Sentry Release uses: getsentry/action-release@v1 env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} SENTRY_ORG: ${{ secrets.SENTRY_ORG }} SENTRY_PROJECT: rails with: environment: production version: ${{ github.ref }}