Skip to main content

Deploy to Firebase

This page explains how to deploy applications to Firebase using FluentCI.

Before you begin

The instructions on this page assume that you are familiar with Firebase. In addition:

Using the Firebase Plugin

You can use FluentCI to deploy applications to Firebase using the firebase plugin, no need to install Firebase CLI on your machine, FluentCI will handle everything for you.

The following commands can be used to deploy applications to Firebase:

# Deploy to Firebase, make sure to export FIREBASE_TOKEN environment variable
fluentci run --wasm firebase deploy

CI/CD pipeline integrations

The following examples show how to integrate FluentCI with popular CI providers to deploy applications to Firebase:

ci.yml
name: ci
on:
push:
branches:
- main
jobs:
tasks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v5
- name: deploy
run: fluentci run --wasm firebase deploy
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}