From f4810aa2f4f3744ff514e4ac11503928b87bf00d Mon Sep 17 00:00:00 2001 From: Matchu Date: Sat, 16 Jan 2021 11:15:22 -0800 Subject: [PATCH] Add Sentry GitHub Action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this shouuuld create a record in Sentry every time we push, to help it correlate new errors to releases 🤞❗ --- .github/workflows/release.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..5d60834 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,15 @@ +name: Release +on: + push: + branches: + - main + +jobs: + - name: Create Sentry release + uses: getsentry/action-release@v1.1.5 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: ${{ secrets.SENTRY_ORG }} + SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} + with: + environment: production