mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-30 19:41:46 +01:00
30 lines
772 B
YAML
30 lines
772 B
YAML
name: Notify Sentry
|
|
|
|
#
|
|
# Comment the `on:` section below if you want to stop deploys
|
|
#
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- 'rust/**'
|
|
- 'livestream/**'
|
|
|
|
jobs:
|
|
sentry:
|
|
name: Notify Sentry of a production release
|
|
runs-on: ubuntu-20.04
|
|
if: github.repository == 'PostHog/posthog'
|
|
steps:
|
|
- name: Checkout master
|
|
uses: actions/checkout@v4
|
|
- name: Notify Sentry
|
|
uses: getsentry/action-release@v1
|
|
env:
|
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
SENTRY_ORG: posthog
|
|
SENTRY_PROJECT: posthog
|
|
with:
|
|
environment: production
|