Skip to content

Commit

Permalink
🔧 Set sentry env in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Sep 12, 2024
1 parent b2c38a4 commit bffd94a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ USER_PII_SALT=

SENTRY_DSN=
SENTRY_ENV=development
SENTRY_ORG=likecoin-foundation
SENTRY_ORG=likerland-team
SENTRY_PROJECT=likerland-app-dev

CRISP_WEBSITE_ID=
7 changes: 7 additions & 0 deletions .github/workflows/production_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
working-directory: ios
env:
SENTRY_LOAD_DOTENV: 0
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_APPLE_PASSWORD }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
APPLE_CONNECT_API_KEY_ID: ${{ secrets.APPLE_CONNECT_API_KEY_ID }}
Expand Down Expand Up @@ -121,6 +124,10 @@ jobs:
working-directory: android
env:
RUBYOPT: '-rostruct' # TODO: Remove when https://github.com/fastlane/fastlane/pull/21950 gets released
SENTRY_LOG_LEVEL: 'info'
SENTRY_LOAD_DOTENV: 0
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
ANDROID_RELEASE_KEY_STORE_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_STORE_PASSWORD }}
ANDROID_RELEASE_KEY_KEY_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_KEY_PASSWORD }}

0 comments on commit bffd94a

Please sign in to comment.