{"id":19657493,"url":"https://github.com/butlerlogic/action-firebase-cli","last_synced_at":"2025-06-30T08:03:09.848Z","repository":{"id":98891118,"uuid":"248832473","full_name":"ButlerLogic/action-firebase-cli","owner":"ButlerLogic","description":"Install the Firebase CLI in your action toolchain.","archived":false,"fork":false,"pushed_at":"2020-03-20T19:56:38.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T00:52:48.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ButlerLogic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"coreybutler","patreon":"coreybutler","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-03-20T19:06:38.000Z","updated_at":"2022-04-29T08:12:38.000Z","dependencies_parsed_at":"2023-03-13T15:53:39.486Z","dependency_job_id":null,"html_url":"https://github.com/ButlerLogic/action-firebase-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButlerLogic%2Faction-firebase-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButlerLogic%2Faction-firebase-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButlerLogic%2Faction-firebase-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButlerLogic%2Faction-firebase-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ButlerLogic","download_url":"https://codeload.github.com/ButlerLogic/action-firebase-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240965349,"owners_count":19885916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T15:32:29.368Z","updated_at":"2025-02-27T02:25:24.472Z","avatar_url":"https://github.com/ButlerLogic.png","language":"Shell","funding_links":["https://github.com/sponsors/coreybutler","https://patreon.com/coreybutler"],"categories":[],"sub_categories":[],"readme":"# Run a Firebase CLI command\n\nRun a command, like `firebase deploy --only hosting`.\n\n## Configuring Firebase\n\nFirebase automatically uses the `FIREBASE_TOKEN` and `FIREBASE_PROJECT` environment variables when provided. \n\nTo retrieve the `FIREBASE_TOKEN`, run `firebase login:ci` on your desktop to retrieve your Firebase auth token. Save this as a [repository secret](https://help.github.com/en/articles/virtual-environments-for-github-actions#creating-and-using-secrets-encrypted-variables) in your repository.\n\nThe `FIREBASE_PROJECT` is the project ID, which can usually be found in the `.firebaserc` file (`default` attribute). This can be configured in the action instead of a secret.\n\n## Example workflow\n\n```\nname: Build and Deploy\non:\n  push:\n    branches:\n    - master\njobs:\n  main:\n    name: Build and Deploy\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@master\n    - name: Firebase Command\n      uses: butlerlogic/action-firebase-cli@stable\n      env:\n        FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}\n        FIREBASE_PROJECT: name-of-the-project\n        FIREBASE_COMMAND: deploy --only hosting\n        PRERUN: npm run build\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutlerlogic%2Faction-firebase-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbutlerlogic%2Faction-firebase-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutlerlogic%2Faction-firebase-cli/lists"}