/firebase-action

The GitHub Action for Firebase and wraps the firebase-tools CLI

Primary LanguageShellApache License 2.0Apache-2.0

GitHub Action for Firebase

The GitHub Action for Firebase and wraps the firebase-tools CLI.

Usage

Example job step

An example step you can add to your workflow which deploys to Firebase:

- name: Firebase GitHub Action
  uses: pizzafox/firebase-action@1.0.7
  env:
    PROJECT_ID: "google-cloud-or-firebase-project-id"
    FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
  with:
    args: deploy

Secrets

  • FIREBASE_TOKEN - Required Firebase access token
    • You can obtain a token with firebase login:ci
    • For information about access tokens please see the Firebase docs
    • For information about using secrets in GitHub Actions please see the Actions docs

Environment variables

  • PROJECT_ID - Optional Firebase/Google Cloud project ID

License

The Dockerfile and associated scripts and documentation in this project are released under the Apache 2.0.