A sample repository to demonstrate the Automate publishing app to the Google Play Store with GitHub Actions⚡+ Fastlane🏃.
These article includes all steps or related information for setting up this.
- https://medium.com/firebase-developers/quickly-distribute-app-with-firebase-app-distribution-using-github-actions-fastlane-c7d8eca18ee0
- https://medium.com/scalereal/automate-publishing-app-to-the-google-play-store-with-github-actions-fastlane-ac9104712486
Deployment Status (Production) | Deployment Status (Beta) | Distribution Status |
---|---|---|
distribute.yml
- For Distributing test builds using the Firebase App Distribution.releaseBeta.yml
- For deploying application (AAB) to the beta track on to the Google Play Store.releaseProd.yml
- For deploying application (AAB) to the production track on to the Google Play Store.
desc "Lane for distributing app using Firebase App Distributions"
lane :distribute do
gradle(task: "clean assembleRelease")
firebase_app_distribution(
service_credentials_file: "firebase_credentials.json",
app: ENV['FIREBASE_APP_ID'],
release_notes_file: "FirebaseAppDistributionConfig/release_notes.txt",
groups_file: "FirebaseAppDistributionConfig/groups.txt"
)
end
desc "Deploy a beta version to the Google Play"
lane :beta do
gradle(task: "clean bundleRelease")
upload_to_play_store(track: 'beta', release_status: 'draft')
end
desc "Deploy a new version to the Google Play"
lane :production do
gradle(task: "clean bundleRelease")
upload_to_play_store(release_status: 'draft')
end