Skip to content

Commit 13b12c0

Browse files
committed
Fix of deploy script
1 parent 0425b2a commit 13b12c0

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ deploy:
5858
# deploy to google play
5959
- provider: script
6060
skip_cleanup: true
61-
script:
62-
- echo $GOOGLE_PLAY_ACCOUNT > gplay_api.json
63-
- bundle exec fastlane deploy_$BUILD_TYPE
61+
script: bundle exec fastlane deploy_$BUILD_TYPE
6462
on:
6563
branch: master
6664

fastlane/Appfile

-1
This file was deleted.

fastlane/Fastfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,16 @@ platform :android do
1717
lane :deploy_beta do
1818
upload_to_play_store(track: "beta",
1919
package_name: "org.exarhteam.iitc_mobile",
20-
apk: "build/beta/IITC_Mobile-beta.apk")
20+
apk: "build/beta/IITC_Mobile-beta.apk",
21+
json_key_data: ENV['GOOGLE_PLAY_ACCOUNT'])
2122
end
2223

2324
desc "Deploy of release to Google Play"
2425
lane :deploy_release do
2526
upload_to_play_store(track: "release",
2627
package_name: "org.exarhteam.iitc_mobile",
27-
apk: "build/release/IITC_Mobile-release.apk")
28+
apk: "build/release/IITC_Mobile-release.apk",
29+
json_key_data: ENV['GOOGLE_PLAY_ACCOUNT'])
2830
end
2931
end
3032

0 commit comments

Comments
 (0)