From 5f48489d62302aaec2c08d18a5616cc09031eb65 Mon Sep 17 00:00:00 2001 From: flux Date: Sat, 21 Sep 2024 15:25:27 +0200 Subject: [PATCH] Create sentry.yml --- .github/workflows/sentry.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/sentry.yml 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