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 Firebase
- Create a new project in Buddy and select your Git provider.
Creating a new project
- Add a new pipeline and configure the details: name, trigger mode, and a branch from which you want to deploy.
Adding a new pipeline
- Look up and click Firebase CLI on the action list to add it to the pipeline:
- 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 configuration
- When ready, click Add this action to finish configuration.
Last modified on December 21, 2023