Deploy to Firebase CLI
Buddy allows you to automatically update your Firebase instance by running firebase-tools
commands on a push to git.
Image loading...
Tip
If you are new to Buddy, check out our workflow guides that will tell you how to create build, test and deploy your type of application.
Configure pipeline in Buddy
- Create a new project in Buddy and select your Git provider.
Image loading...
- Add a new pipeline and configure the details: name, trigger mode, and a branch from which you want to deploy.
Image loading...
Configure Firebase deployment
- Look up and click Firebase CLI on the action list to add it to the pipeline:
Image loading...
- 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
Image loading...
- When ready, click Add this action to finish configuration.
Success
Congratulations! You have just automated your Firebase deployment. 🥳
Last modified on Sep 24, 2024