From fcf96dce32027a9fb8aa1e3718b907fe38727920 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Tue, 4 Feb 2025 09:17:25 -0800 Subject: [PATCH] fix path --- ci_scripts/ci_pre_xcodebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci_scripts/ci_pre_xcodebuild.sh b/ci_scripts/ci_pre_xcodebuild.sh index 25204d7c..edb38931 100755 --- a/ci_scripts/ci_pre_xcodebuild.sh +++ b/ci_scripts/ci_pre_xcodebuild.sh @@ -4,10 +4,10 @@ echo "Stage: PRE-Xcode Build is activated .... " # Move to the place where the scripts are located. # This is important because the position of the subsequently mentioned files depend of this origin. -cd $CI_PRIMARY_REPOSITORY_PATH/ci_scripts || exit 1 +cd $CI_WORKSPACE/ci_scripts || exit 1 # Write a JSON File containing all the environment variables and secrets. -printf "{\"PUBLIC_MQTT_USERNAME\":\"%s\",\"PUBLIC_MQTT_PASSWORD\":\"%s\"}" "$PUBLIC_MQTT_USERNAME" "$PUBLIC_MQTT_PASSWORD" >> .\ ./SupportingFiles/secrets.json +printf "{\"PUBLIC_MQTT_USERNAME\":\"%s\",\"PUBLIC_MQTT_PASSWORD\":\"%s\"}" "$PUBLIC_MQTT_USERNAME" "$PUBLIC_MQTT_PASSWORD" >> .\ ${CI_WORKSPACE}/SupportingFiles/secrets.json echo "Wrote Secrets.json file."