-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1546 from ardriveapp/PE-5356-integrate-sentry-for…
…-error-logging-in-production-builds PE-5356: feat(logging)
- Loading branch information
Showing
12 changed files
with
262 additions
and
365 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
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
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 |
---|---|---|
|
@@ -16,6 +16,10 @@ on: | |
env: | ||
BUILD_NUMBER: ${{ github.run_number }} | ||
RELEASE_NOTES: Staging - ${{ github.sha }} | ||
SENTRY_DSN: ${{secrets.SENTRY_DSN}} | ||
SENTRY_ORG: ${{secrets.SENTRY_ORG}} | ||
SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} | ||
SENTRY_PROJECT: ${{secrets.SENTRY_PROJECT}} | ||
|
||
jobs: | ||
pre-build: | ||
|
@@ -46,7 +50,8 @@ jobs: | |
run: | | ||
scr setup | ||
flutter config --enable-web | ||
flutter build web --dart-define=environment=staging --release --pwa-strategy=none --no-web-resources-cdn | ||
flutter build web --dart-define=environment=staging --dart-define=SENTRY_DSN=${SENTRY_DSN} --dart-define=SENTRY_PROJECT=${SENTRY_PROJECT} --dart-define=SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN} --dart-define=SENTRY_ORG=${SENTRY_ORG} --release --pwa-strategy=none --no-web-resources-cdn | ||
flutter packages pub run sentry_dart_plugin | ||
# Deploy to github pages | ||
- uses: JamesIves/[email protected] | ||
|
Oops, something went wrong.