Deploying to Play Store using GitHub Actions
In Chapter 13, we learned how to deploy our app to Google Play Store using Google Play Console. However, in that chapter, we did it manually. In this chapter, we are going to learn how to deploy our app to Google Play Store using GitHub Actions. We are going to use the Google Play Publisher action to deploy our app to Google Play Store. This action is available in GitHub Marketplace.
Before we can write our workflow, we need to do some setup. We need to create a service account on our Google Play Store account. We can do this by following these steps:
- Configure the service account in Google Cloud Platform by following these steps:
- Navigate to https://cloud.google.com/gcp.
- Navigate to IAM and admin | Service accounts | Create service account.
- Pick a name and add appropriate permissions, for example, owner permissions.
- Open the newly created service account, click on the Keys tab, and add a new JSON type key.
- When the key is successfully...