Auto commit at 2024-09-18T10:58:13.495Z #574
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Notify Sentry and Slack | |
# | |
# 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 |