Merge pull request #3350 from cal-itp/upgrade-jupyterhub-custom-image #442
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 of releases | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: 'google-github-actions/auth@v2' | |
with: | |
credentials_json: '${{ secrets.GCP_SA_KEY }}' | |
- uses: google-github-actions/setup-gcloud@v2 | |
- uses: 'google-github-actions/get-secretmanager-secrets@v1' | |
id: secrets | |
with: | |
secrets: |- | |
GITHUB_SENTRY_AUTH_TOKEN:cal-itp-data-infra/GITHUB_SENTRY_AUTH_TOKEN | |
- uses: actions/checkout@v2 | |
- uses: getsentry/action-release@v1 | |
env: | |
SENTRY_AUTH_TOKEN: '${{ steps.secrets.outputs.GITHUB_SENTRY_AUTH_TOKEN }}' | |
SENTRY_ORG: sentry | |
SENTRY_PROJECT: cal-itp-data-infra | |
SENTRY_URL: https://sentry.calitp.org | |
with: | |
environment: cal-itp-data-infra |