From 40a14a57ff359472e110f7a23c81c0ebced6603b Mon Sep 17 00:00:00 2001 From: Niall Quinn Date: Mon, 2 Dec 2024 13:18:43 +0100 Subject: [PATCH] Use demo preview --- fastlane/Fastfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 247220f6b..ce07cbd88 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -34,6 +34,8 @@ build_type = ENV['BUILD_TYPE'] || "preview" podfile_path = "Debug App/Podfile" pr_number = ENV['PR_NUMBER'] +sdk_demo_url = "https://primer-sdk-demo-git-demo-fixes-primer-io.vercel.app/" + ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "120" #--------------------- END CONSTANTS -----------------------# @@ -216,7 +218,7 @@ platform :ios do # Find public key of appetize # If a build exists with this name, we will overwrite it url_end = get_appetize_version_name(build_type, pr_number) - uri = URI('https://livedemostore.common.primer.io/appetize/ios/' + "#{url_end}") + uri = URI(sdk_demo_url + "#{url_end}") public_key = Net::HTTP.get(uri) puts "public_key: " + public_key @@ -230,7 +232,7 @@ platform :ios do ) update_deployment_url(lane_context[SharedValues::APPETIZE_APP_URL]) - update_livedemostore_url("https://livedemostore.common.primer.io/ios/#{url_end}") + update_livedemostore_url(sdk_demo_url + url_end) end