2024-09-16 10:25:30 +02:00
|
|
|
name: Notify Sentry
|
2020-11-18 00:42:44 +01:00
|
|
|
|
2022-03-24 10:24:46 +01:00
|
|
|
#
|
|
|
|
# Comment the `on:` section below if you want to stop deploys
|
|
|
|
#
|
2022-03-25 11:53:13 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2024-06-11 17:30:21 +02:00
|
|
|
paths-ignore:
|
|
|
|
- 'rust/**'
|
2024-06-18 17:38:53 +02:00
|
|
|
- 'livestream/**'
|
2022-03-14 14:22:31 +01:00
|
|
|
|
2020-11-18 00:42:44 +01:00
|
|
|
jobs:
|
2022-07-12 11:37:31 +02:00
|
|
|
sentry:
|
|
|
|
name: Notify Sentry of a production release
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
if: github.repository == 'PostHog/posthog'
|
|
|
|
steps:
|
|
|
|
- name: Checkout master
|
2024-08-19 11:29:00 +02:00
|
|
|
uses: actions/checkout@v4
|
2022-07-12 11:37:31 +02:00
|
|
|
- name: Notify Sentry
|
|
|
|
uses: getsentry/action-release@v1
|
|
|
|
env:
|
|
|
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
2022-10-07 16:33:42 +02:00
|
|
|
SENTRY_ORG: posthog
|
2022-07-12 11:37:31 +02:00
|
|
|
SENTRY_PROJECT: posthog
|
|
|
|
with:
|
|
|
|
environment: production
|