From bffd94a0715356b91c04e1b65753c0e208c496a1 Mon Sep 17 00:00:00 2001 From: William Chong Date: Thu, 12 Sep 2024 19:46:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Set=20sentry=20env=20in=20github?= =?UTF-8?q?=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- .github/workflows/production_build.yaml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.env b/.env index 5053161f..802b8f60 100644 --- a/.env +++ b/.env @@ -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= diff --git a/.github/workflows/production_build.yaml b/.github/workflows/production_build.yaml index cbcc3aab..7a14a5f7 100644 --- a/.github/workflows/production_build.yaml +++ b/.github/workflows/production_build.yaml @@ -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 }} @@ -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 }}