or like this?
This commit is contained in:
parent
a0fac1cb69
commit
2b03992790
@ -72,6 +72,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }}
|
MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }}
|
||||||
|
|
||||||
|
- name: Replace API Key from secret
|
||||||
|
run: |
|
||||||
|
sed -i '' 's/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g' Runner/AppDelegate.swift
|
||||||
|
|
||||||
- name: Run fastlane lane
|
- name: Run fastlane lane
|
||||||
run: bundle exec fastlane deploy_${{ inputs.build_type }}
|
run: bundle exec fastlane deploy_${{ inputs.build_type }}
|
||||||
env:
|
env:
|
||||||
|
@ -28,17 +28,6 @@ platform :ios do
|
|||||||
readonly: true,
|
readonly: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
# replace secrets by real values, the stupid way
|
|
||||||
sh(
|
|
||||||
"sed",
|
|
||||||
"-i",
|
|
||||||
"''",
|
|
||||||
"s/IOS_GOOGLE_MAPS_API_KEY/#{ENV["IOS_GOOGLE_MAPS_API_KEY"]}/g",
|
|
||||||
"../Runner/AppDelegate.swift"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
sh(
|
sh(
|
||||||
"flutter",
|
"flutter",
|
||||||
"build",
|
"build",
|
||||||
@ -74,15 +63,6 @@ platform :ios do
|
|||||||
readonly: true,
|
readonly: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
# replace secrets by real values, the stupid way
|
|
||||||
sh(
|
|
||||||
"sed",
|
|
||||||
"-i",
|
|
||||||
"''",
|
|
||||||
"s/IOS_GOOGLE_MAPS_API_KEY/#{ENV["IOS_GOOGLE_MAPS_API_KEY"]}/g",
|
|
||||||
"../Runner/AppDelegate.swift"
|
|
||||||
)
|
|
||||||
|
|
||||||
sh(
|
sh(
|
||||||
"flutter",
|
"flutter",
|
||||||
"build",
|
"build",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user