{"id":21491623,"url":"https://github.com/sws2apps/firebase-deployment","last_synced_at":"2025-07-15T17:32:32.962Z","repository":{"id":38027625,"uuid":"493972073","full_name":"sws2apps/firebase-deployment","owner":"sws2apps","description":"A GitHub action to deploy to Firebase","archived":false,"fork":false,"pushed_at":"2024-10-24T04:38:31.000Z","size":723,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-25T02:28:31.403Z","etag":null,"topics":["deployment","firebase","gcloud","github-actions","google-cloud","hosting","marketplace","oidc"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sws2apps.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-19T07:47:37.000Z","updated_at":"2024-10-24T04:38:28.000Z","dependencies_parsed_at":"2023-09-23T02:58:13.432Z","dependency_job_id":"578c0be6-5c3c-4a38-ab3a-7e97238e6ec2","html_url":"https://github.com/sws2apps/firebase-deployment","commit_stats":{"total_commits":182,"total_committers":7,"mean_commits":26.0,"dds":"0.41208791208791207","last_synced_commit":"351e644fcdb256a682fe4ba0a7008ac620e9ef7d"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sws2apps%2Ffirebase-deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sws2apps%2Ffirebase-deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sws2apps%2Ffirebase-deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sws2apps%2Ffirebase-deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sws2apps","download_url":"https://codeload.github.com/sws2apps/firebase-deployment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225878123,"owners_count":17538400,"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":["deployment","firebase","gcloud","github-actions","google-cloud","hosting","marketplace","oidc"],"created_at":"2024-11-23T15:17:09.351Z","updated_at":"2024-11-23T15:17:10.022Z","avatar_url":"https://github.com/sws2apps.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CI](https://github.com/sws2apps/firebase-deployment/actions/workflows/ci.yml/badge.svg)](https://github.com/sws2apps/firebase-deployment/actions/workflows/ci.yml)\n[![CD](https://github.com/sws2apps/firebase-deployment/actions/workflows/publish.yml/badge.svg)](https://github.com/sws2apps/firebase-deployment/actions/workflows/publish.yml)\n\n# Firebase Deployment\n\nA GitHub Action to deploy firebase hosting and functions together.\n\n- Make sure you have the `firebase.json` file in the root repository, or set a custom path to look for it using the `config` input.\n- Set the `workloadIdentityProvider` and `serviceAccount` inputs to authenticate to Google Cloud. Create these values by following the guides on [Setting up Workload Identity Federation](https://github.com/google-github-actions/auth#setting-up-workload-identity-federation). Alternatively, you can try using the CLI [@sws2apps/github-gcloud-cli](https://www.npmjs.com/package/@sws2apps/github-gcloud-cli) to automate the creation of these values.\n- Set the project name in the `project` input.\n\n## Example Usage\n\n```yaml\nname: Deploy to Firebase\n\non:\n  push:\n    branches:\n      - main\n\npermissions: read-all\n\njobs:\n  main:\n    name: Build and Deploy\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: 'read'\n      id-token: 'write'\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Deploy to Firebase\n        uses: sws2apps/firebase-deployment@main #consider using pin for dependabot auto update\n        with:\n          workloadIdentityProvider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}\n          serviceAccount: ${{ secrets.SERVICE_ACCOUNT }}\n          node-version: 18 #optional, node-version you want to use following the Semantic Versioning Specification, default to current\n          config: 'frontend/firebase.json' #optional\n          function: true #optional \u0026 boolean\n          hosting: true #optional \u0026 boolean\n          project: my-firebase-project #required\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsws2apps%2Ffirebase-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsws2apps%2Ffirebase-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsws2apps%2Ffirebase-deployment/lists"}