6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit fc0b6674

AuthorMikkel Thygesen<mikkelet@gmail.com>
Date2026-03-09 20:08:30 +0100
Devops: debug install signing

Changed files

.github/workflows/build-ios-stage.yml                  |  6 +++++-
 .github/workflows/scripts/ios_install_signing_files.sh | 13 +++++++------
 2 files changed, 12 insertions(+), 7 deletions(-)

Diff

diff --git a/.github/workflows/build-ios-stage.yml b/.github/workflows/build-ios-stage.yml
index 074e43a5..3c11f233 100644
--- a/.github/workflows/build-ios-stage.yml
+++ b/.github/workflows/build-ios-stage.yml
@@ -30,7 +30,11 @@ jobs:
- name: Install the Apple certificate and provisioning profile
shell: sh
run: >-
- sh .github/workflows/scripts/ios_install_signing_files.sh
+ sh .github/workflows/scripts/ios_install_signing_files.sh
+ $CERTIFICATE_P12
+ $P12_PASSWORD
+ $PROVISIONING_PROFILE
+ $RUNNER_TEMP
- name: Download dotenv
env:
diff --git a/.github/workflows/scripts/ios_install_signing_files.sh b/.github/workflows/scripts/ios_install_signing_files.sh
index 8d1f43eb..b746c675 100644
--- a/.github/workflows/scripts/ios_install_signing_files.sh
+++ b/.github/workflows/scripts/ios_install_signing_files.sh
@@ -1,15 +1,16 @@
-CERTIFICATE_P12=${{ secrets.DISTRIBUTION_CERTIFICATE }}
-P12_PASSWORD=${{ secrets.CERTIFICATE_PASSWORD }}
-PROVISIONING_PROFILE=${{ secrets.PROV_PROFILE_STAGE }}
+CERTIFICATE_P12=$1
+P12_PASSWORD=$2
+PROVISIONING_PROFILE=$3
+RUNNER_TEMP=$4
+
# create variables
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
PP_PATH=$RUNNER_TEMP/build_pp.mobileprovision
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
-echo "CERTIFICATE_P12=$CERTIFICATE_P12"
-echo "P12_PASSWORD=$P12_PASSWORD"
-echo "PROVISIONING_PROFILE=$PROVISIONING_PROFILE"
echo "RUNNER_TEMP=$RUNNER_TEMP"
+echo "CERTIFICATE_PATH=$CERTIFICATE_PATH"
+echo "KEYCHAIN_PATH=$KEYCHAIN_PATH"
# import certificate and provisioning profile from secrets
echo -n "$CERTIFICATE_P12" | base64 --decode -o $CERTIFICATE_PATH