hbarve1 / github-action-firebase-functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy to Firebase Functions

A GitHub Action to deploy to Firebase Functions

  • Make sure you have the firebase.json file in the repository
  • Get the Firebase token by running firebase login:ci and store it as the FIREBASE_TOKEN secret

Example workflow

name: Firebase
on:
  push:
    branches:
    - master
jobs:
  main:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
    - name: Check out code
      uses: actions/checkout@master
    - name: Deploy to Firebase
      uses: hbarve1/github-action-firebase-functions@main
      env:
        FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}

About


Languages

Language:Shell 67.6%Language:Dockerfile 32.4%