Codemagic: use the existing team API key integration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5721eb53c9
commit
b966b6c45e
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# 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
|
||||||
# - App Store Connect API key integration named "NK App Store Connect" (iOS)
|
# - App Store Connect API key integration "clickstocart-app" (Developer Portal) (iOS)
|
||||||
# - Variable CERTIFICATE_PRIVATE_KEY (secure) in group "nk_ios_signing" (iOS signing)
|
# - Variable CERTIFICATE_PRIVATE_KEY (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)
|
||||||
# - Variable GCLOUD_SERVICE_ACCOUNT_CREDENTIALS in group "nk_google_play" (Android publishing)
|
# - Variable GCLOUD_SERVICE_ACCOUNT_CREDENTIALS in group "nk_google_play" (Android publishing)
|
||||||
@ -38,7 +38,7 @@ workflows:
|
|||||||
instance_type: mac_mini_m2
|
instance_type: mac_mini_m2
|
||||||
max_build_duration: 60
|
max_build_duration: 60
|
||||||
integrations:
|
integrations:
|
||||||
app_store_connect: NK App Store Connect
|
app_store_connect: clickstocart-app # the team API key in Codemagic (covers all our Apple apps)
|
||||||
environment:
|
environment:
|
||||||
groups:
|
groups:
|
||||||
- nk_app
|
- nk_app
|
||||||
|
|||||||
@ -25,7 +25,7 @@ each store release. Build numbers are set automatically by Codemagic.
|
|||||||
- `MEDIA_BASE_URL` = `https://app.nkbmusic.com/storage/v1/object/public/audio`
|
- `MEDIA_BASE_URL` = `https://app.nkbmusic.com/storage/v1/object/public/audio`
|
||||||
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 **`NK App Store Connect`**.
|
- 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).
|
||||||
3. **iOS signing (automatic).** The build creates the Apple Distribution certificate and the App
|
3. **iOS signing (automatic).** The build creates the Apple Distribution certificate and the App
|
||||||
Store profile itself through the API key, so no profiles are made by hand.
|
Store profile itself through the API key, so no profiles are made by hand.
|
||||||
- Create a variable group **`nk_ios_signing`** with `CERTIFICATE_PRIVATE_KEY` (secure).
|
- Create a variable group **`nk_ios_signing`** with `CERTIFICATE_PRIVATE_KEY` (secure).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user