-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6149d3
commit 1a6f2d3
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -270,6 +270,24 @@ jobs: | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY}} | ||
AWS_ENDPOINT: ${{ secrets.AWS_ENDPOINT }} | ||
AWS_BUCKET: bun | ||
|
||
notify-sentry: | ||
name: Notify Sentry | ||
runs-on: ubuntu-latest | ||
needs: s3 | ||
steps: | ||
- name: Notify Sentry | ||
uses: getsentry/[email protected] | ||
env: | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | ||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | ||
with: | ||
ignore_missing: true | ||
ignore_empty: true | ||
version: ${{ env.BUN_VERSION }} | ||
environment: production | ||
|
||
bump: | ||
name: "Bump version" | ||
runs-on: ubuntu-latest | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,3 +80,15 @@ jobs: | |
bun upgrade --canary | ||
# bun upgrade --stable <- to downgrade | ||
``` | ||
# If notifying sentry fails, don't fail the rest of the build. | ||
- name: Notify Sentry | ||
uses: getsentry/[email protected] | ||
env: | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | ||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | ||
with: | ||
ignore_missing: true | ||
ignore_empty: true | ||
version: ${{ github.event.workflow_run.head_sha || github.sha }}-canary | ||
environment: canary |