rebreak-monorepo/apps/rebreak-native/.env.deploy.local.example
chahinebrini f48df2a968 chore(deploy): require ASC API-Key, drop app-specific-password fallback, brew-style spinner with live build action
- removes APPLE_APP_SPECIFIC_PASSWORD legacy branches (it never worked for xcodebuild -exportArchive anyway, only altool-upload)
- ASC API-Key now hard-required via require_asc_api_key preflight (fails fast with clear msg + path hint)
- run_quiet: spinner now tails the build log and shows current action (Compiling X.swift, Linking, CodeSign, etc.) as live subtitle — feels like brew/homebrew progress
- .env.deploy.local.example: drop unused fallback section
2026-05-30 09:46:38 +02:00

29 lines
2.0 KiB
Plaintext

# Rebreak Deploy Secrets — Copy to .env.deploy.local (gitignored!)
#
# Source-Reihenfolge (deploy.sh lädt erstes vorhandenes File):
# 1. apps/rebreak-native/.env.deploy.local
# 2. ~/.config/rebreak/deploy.env
#
# ──────────────────────────────────────────────────────────────────────────
# iOS — App Store Connect API Key (GRATIS, einmal generieren)
# ──────────────────────────────────────────────────────────────────────────
# 1) Gehe zu https://appstoreconnect.apple.com/access/integrations/api
# 2) "Generate API Key" (Role: Admin oder App Manager)
# 3) Download AuthKey_XXXXXXXXXX.p8 — kann nur EINMAL heruntergeladen werden!
# 4) Speichere unter ~/.appstoreconnect/private_keys/AuthKey_<KEY_ID>.p8
# (altool sucht dort automatisch — Standort ist Pflicht)
# mkdir -p ~/.appstoreconnect/private_keys
# mv ~/Downloads/AuthKey_*.p8 ~/.appstoreconnect/private_keys/
# chmod 600 ~/.appstoreconnect/private_keys/AuthKey_*.p8
#
# Issuer-ID findest du auf derselben Seite ganz oben.
export ASC_API_KEY_ID="ABCDE12345"
export ASC_API_KEY_ISSUER="69a6de70-XXXX-XXXX-XXXX-5bc36a4XXXXX"
export ASC_API_KEY_PATH="$HOME/.appstoreconnect/private_keys/AuthKey_${ASC_API_KEY_ID}.p8"
# ──────────────────────────────────────────────────────────────────────────
# Android — Play Console Service Account
# ──────────────────────────────────────────────────────────────────────────
# export PLAY_SERVICE_ACCOUNT_JSON="$HOME/.config/rebreak/play-service-account.json"