MEDIA_BASE_URL is optional in Codemagic

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
metatroncubeswdev 2026-10-31 17:35:03 -04:00
parent d7d3a93bae
commit 60506e730f
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Codemagic builds for Nanga Kathai. Setup steps: docs/app-store-release.md # Codemagic builds for Nanga Kathai. Setup steps: docs/app-store-release.md
# #
# Needed in Codemagic (Team settings / app settings): # Needed in Codemagic (Team settings / app settings):
# - Environment variable group "nk_app": SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY, MEDIA_BASE_URL # - Environment variable group "nk_app": SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY (MEDIA_BASE_URL optional)
# - App Store Connect API key integration "clickstocart-app" (Developer Portal) (iOS) # - App Store Connect API key integration "clickstocart-app" (Developer Portal) (iOS)
# - Variable CERTIFICATE_PRIVATE_KEY_BASE64 (secure) in group "nk_ios_signing" (iOS signing) # - Variable CERTIFICATE_PRIVATE_KEY_BASE64 (secure) in group "nk_ios_signing" (iOS signing)
# - Android keystore uploaded with reference name "nk_upload_keystore" (Android) # - Android keystore uploaded with reference name "nk_upload_keystore" (Android)

View File

@ -22,7 +22,7 @@ each store release. Build numbers are set automatically by Codemagic.
1. **Variables.** Open App settings > Environment variables and create the group **`nk_app`** with: 1. **Variables.** Open App settings > Environment variables and create the group **`nk_app`** with:
- `SUPABASE_URL` = `https://app.nkbmusic.com` - `SUPABASE_URL` = `https://app.nkbmusic.com`
- `SUPABASE_PUBLISHABLE_KEY` = the value from your local `env.json` - `SUPABASE_PUBLISHABLE_KEY` = the value from your local `env.json`
- `MEDIA_BASE_URL` = `https://app.nkbmusic.com/storage/v1/object/public/audio` - `MEDIA_BASE_URL` is optional; it defaults to the Supabase `audio` bucket
2. **App Store Connect API key.** 2. **App Store Connect API key.**
- In App Store Connect, open Users and Access > Integrations > App Store Connect API and generate a key with the **App Manager** role. - In App Store Connect, open Users and Access > Integrations > App Store Connect API and generate a key with the **App Manager** role.
- In Codemagic, open Team settings > Team integrations > Developer Portal and add the key with the name **`clickstocart-app`** (already added; it works for every app in the Apple team). - In Codemagic, open Team settings > Team integrations > Developer Portal and add the key with the name **`clickstocart-app`** (already added; it works for every app in the Apple team).