Add Sentry GitHub Action

this shouuuld create a record in Sentry every time we push, to help it correlate new errors to releases 🤞
This commit is contained in:
Emi Matchu 2021-01-16 11:15:22 -08:00
parent 24f29173bb
commit f4810aa2f4

15
.github/workflows/release.yml vendored Normal file
View file

@ -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