Deploy Firebase Functions using GitHub Actions

Automate the CI/CD pipeline for your Firebase Functions with GitHub Actions and a Google Service Account.

David Sugden
7 min readFeb 6, 2022

--

This short article will walk through the configuration required to automate the deployment of your Firebase Functions using GitHub Actions.

Firebase helps you build and run apps, (web, iPhone, Android), with a backend infrastructure that is fully managed by Google.

There are many features made available, including databases, storage, and in the case of this article Firebase Functions. In the backend, these translate to being Google Cloud Functions.

This article assumes you’re already using Firebase. New to Firebase? Learn more by heading over to https://firebase.google.com/

Background

When setting up Firebase Hosting, the Firebase CLI will helpfully ask you if you want to set up automation. It will configure a pipeline in GitHub Actions for you and also configure necessary Service Account and…

--

--