Skip to content

GitHub Action for interacting with Firebase

License

Notifications You must be signed in to change notification settings

thunderball1/firebase-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions for Firebase

This Action for firebase-tools enables arbitrary actions with the firebase command-line client.

Secrets

  • FIREBASE_TOKEN - Required. The token to use for authentication. This token can be aquired through the firebase login:ci command.

Environment variables

  • PROJECT_ID - Optional. To specify a specific project to use for all commands, not required if you specify a project in your .firebaserc file.

Example

To authenticate with Firebase, and deploy to Firebase Hosting:

action "Deploy Production Site" {
  uses = "w9jds/firebase-action@master"
  args = "deploy --only hosting:prod"
  env = {
    PROJECT_ID = "new-eden-storage-a5c23"
  }
  secrets = ["FIREBASE_TOKEN"]
}

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

About

GitHub Action for interacting with Firebase

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 64.7%
  • Dockerfile 35.3%