Diex / deploy-firebase-functions

A GitHub Action to deploy to 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: wib-wub/deploy-firebase-functions@1.0.1
      env:
        FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}

About

A GitHub Action to deploy to Firebase Functions

License:MIT License


Languages

Language:Shell 69.6%Language:Dockerfile 30.4%