The GitHub Action for Firebase and wraps the firebase-tools CLI.
An example step you can add to your workflow which deploys to Firebase:
- name: Firebase GitHub Action
uses: jonahsnider/[email protected]
env:
PROJECT_ID: "google-cloud-or-firebase-project-id"
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
with:
args: deploy
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
- You can obtain a token with
PROJECT_ID
- Optional Firebase/Google Cloud project ID
The Dockerfile and associated scripts and documentation in this project are released under the Apache 2.0.