Skip to content

Commit

Permalink
Fix link order
Browse files Browse the repository at this point in the history
  • Loading branch information
NQuinn27 committed Dec 2, 2024
1 parent 51ee78b commit 14f861c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ build_type = ENV['BUILD_TYPE'] || "preview"
podfile_path = "Debug App/Podfile"
pr_number = ENV['PR_NUMBER']

sdk_demo_url = "https://sdk-demo.primer.io/api/mobile/ios/"
sdk_demo_api_url = "https://sdk-demo.primer.io/api/mobile/ios/"
sdk_demo_url = "https://sdk-demo.primer.io/"

ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "120"

Expand Down Expand Up @@ -218,7 +219,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(sdk_demo_url + "#{url_end}")
uri = URI(sdk_demo_api_url + "#{url_end}")
public_key = Net::HTTP.get(uri)
puts "public_key: " + public_key

Expand All @@ -232,7 +233,7 @@ platform :ios do
)

update_deployment_url(lane_context[SharedValues::APPETIZE_APP_URL])
update_livedemostore_url(sdk_demo_url + url_end)
update_livedemostore_url(sdk_demo_url + url_end + "/ios")

end

Expand Down

0 comments on commit 14f861c

Please sign in to comment.