diff --git a/.github/workflows/sentry.yml b/.github/workflows/sentry.yml new file mode 100644 index 00000000..b4829d3a --- /dev/null +++ b/.github/workflows/sentry.yml @@ -0,0 +1,25 @@ +name: Push to Sentry + +on: + push: + +permissions: + contents: read + +jobs: + sentry_release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Create Sentry release + uses: getsentry/action-release@v1 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: ${{ secrets.SENTRY_ORG }} + SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} + SENTRY_URL: https://sentry.flux.moe/ + with: + environment: production