firebaseextended/Deploy to Firebase Hosting
A GitHub Action to deploy to Firebase Hosting
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repoToken | The GITHUB_TOKEN secret | no | — |
| firebaseServiceAccount | Firebase service account JSON | yes | — |
| expires | How long should a preview live? See the preview channels docs for options | no | 7d |
| projectId | The project to deploy to. If you leave this blank, make sure you check in a .firebaserc file | no | — |
| channelId | The ID of the channel to deploy to. If you leave this blank, a preview channel and its ID will be auto-generated per branch or PR. | no | — |
| target | The target name of the Hosting site to deploy to. If you leave this blank, the default target or all targets defined in the .firebaserc will be deployed to. Refer to the Hosting docs about [multiple sites](https://firebase.google.com/docs/hosting/multisites) for more information about deploy targets. | no | — |
| entryPoint | The location of your firebase.json file, relative to the root of your directory | no | . |
| firebaseToolsVersion | The version of firebase-tools to use. Defaults to `latest`. | no | latest |
| disableComment | Disable auto-commenting with the preview channel URL to the pull request | no | false |
| force | Pass 'true' to use the --force flag with firebase deploy. This will automatically accept any warning or prompts during deploy. Use with caution. | no | false |
Outputs
| name | description |
|---|---|
| urls | The url(s) deployed to |
| expire_time | The time the deployed preview urls expire |
| expire_time_formatted | The time the deployed preview urls expire in the UTC format |
| details_url | A single URL that was deployed to |