This Action for firebase-tools enables arbitrary actions with the firebase
command-line client.
FIREBASE_TOKEN
- Required. The token to use for authentication. This token can be aquired through thefirebase login:ci
command.
PROJECT_ID
- Optional. To specify a specific project to use for all commands, not required if you specify a project in your.firebaserc
file.
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"]
}
The Dockerfile and associated scripts and documentation in this project are released under the MIT License.