Deploy to Firebase CLI

Buddy allows you to automatically update your Firebase instance by running firebase-tools commands on a push to git.

Example pipeline with deployment to FirebaseExample pipeline with deployment to Firebase

Tip
If you are new to Buddy, check out our quickstart guides that will tell you how to create build, test and deploy your type of application.

Configure pipeline in Buddy

  1. Create a new project in Buddy and select your Git provider.

Creating a new projectCreating a new project

  1. Add a new pipeline and configure the details: name, trigger mode, and a branch from which you want to deploy.

Adding a new pipelineAdding a new pipeline

Configure Firebase deployment

  1. Look up and click Firebase CLI on the action list to add it to the pipeline:

Google actionsGoogle actions

  1. The action launches a container with the Firebase CLI preinstalled. It has six configuration tabs:
  • Run – here you select the Firebase integration and provide the deployment command
  • Environment – if your process requires specific dependencies, you can install them here. The files will stay cached in the container for future pipeline runs
  • Settings – here you select the version of Node and Firebase tools, and provide the filesystem and container mount paths
  • Variables – here you can add and modify environment variables required by your workflow
  • Conditions – here you configure the trigger conditions for which the action will run
  • Options – here you define the action's name and behavior on failure and timeout

Firebase CLI action configurationFirebase CLI action configuration

  1. When ready, click Add this action to finish configuration.
Success
Congratulations! You have just automated your Firebase deployment. 🥳
Last update:
Sep 17, 2024