From c82e3c046f9d9ebc33fa5a58456dfa936a484cdd Mon Sep 17 00:00:00 2001 From: Matthew Lorentz Date: Thu, 21 Dec 2023 11:47:49 -0500 Subject: [PATCH] Add build secrets to CI builds --- .github/workflows/testflight-deploy.yml | 1 + fastlane/Fastfile | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/testflight-deploy.yml b/.github/workflows/testflight-deploy.yml index e6e0e716d..ebf4fa414 100644 --- a/.github/workflows/testflight-deploy.yml +++ b/.github/workflows/testflight-deploy.yml @@ -40,4 +40,5 @@ jobs: MATCH_PASSWORD: ${{ Secrets.MATCH_PASSWORD }} KEYCHAIN_PASS: ${{ Secrets.KEYCHAIN_PASS }} SENTRY_AUTH: ${{ Secrets.SENTRY_AUTH }} + APP_SECRETS: ${{ Secrets.APP_SECRETS }} CI: true diff --git a/fastlane/Fastfile b/fastlane/Fastfile index baa0fb7e6..9e5ea5ccb 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -46,6 +46,7 @@ platform :ios do keychain_name: "keychain", keychain_password: keychain_pass ) + sh("echo $APP_SECRETS > Nos/Assets/ProductionSecrets.xcconfig") else match(type: "appstore", readonly: is_ci) end