This repository contains a Flutter application with a GitHub Actions workflow configured to deploy the app to Firebase App Distribution for Android. This guide explains how to set up and use the workflow.
The GitHub Actions workflow automates the process of building and deploying your Flutter app to Firebase App Distribution whenever changes are pushed to the master
branch (or any branch you configure).
-
Firebase Project: You need a Firebase project with Firebase App Distribution enabled. Follow Firebase's documentation to set it up.
-
Firebase Service Account: Create a Firebase service account and download the JSON key file. This file will be used to authenticate with Firebase. Follow Firebase's documentation to set it up.
-
GitHub Repository Secrets: Store sensitive information in your GitHub repository secrets.
Add the following secrets to your GitHub repository if you are not adding the google-services.json
manually :
GOOGLE_SERVICES_JSON
: Base64-encoded contents of yourgoogle-services.json
file. You can encode it using the following command:base64 -i app/google-services.json -o app/base64_google-services.txt
- Result after successful build
DEPLOYMENT | LINT |
---|---|