{"id":23009507,"url":"https://github.com/entur/gha-firebase","last_synced_at":"2026-05-12T15:32:53.647Z","repository":{"id":263437770,"uuid":"816944598","full_name":"entur/gha-firebase","owner":"entur","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-04T07:46:57.000Z","size":969,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-04T08:24:17.870Z","etag":null,"topics":["ghas-ignore","github","team-plattform"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/entur.png","metadata":{"files":{"readme":".github/README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-18T17:44:22.000Z","updated_at":"2026-05-04T06:26:09.000Z","dependencies_parsed_at":"2025-02-27T17:43:29.383Z","dependency_job_id":"63fbae1b-d119-418c-92d7-65fb009fc75f","html_url":"https://github.com/entur/gha-firebase","commit_stats":null,"previous_names":["entur/gha-firebase"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/entur/gha-firebase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fgha-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fgha-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fgha-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fgha-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/entur","download_url":"https://codeload.github.com/entur/gha-firebase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fgha-firebase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32945403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ghas-ignore","github","team-plattform"],"created_at":"2024-12-15T09:14:20.058Z","updated_at":"2026-05-12T15:32:53.615Z","avatar_url":"https://github.com/entur.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n      \u003cimg src=\"logo.png\" width=\"96px\" height=\"96px\" /\u003e\n      \u003cbr\u003eentur/gha-firebase\u003cbr\u003e\n\u003c/h1\u003e\n\n[![Entur/Firebase/CD](https://github.com/entur/gha-firebase/actions/workflows/ci.yml/badge.svg?event=pull_request)](https://github.com/entur/gha-firebase/actions/workflows/ci.yml)\n\nGitHub Actions for working with Firebase in Google Cloud\n\n- [Firebase Hosting Preview](../README-firebase-hosting-preview.md)\n- [Firebase Hosting Deploy](../README-firebase-hosting-deploy.md)\n\n## Golden Path\n\n- `./firebase.json` at the root of your repository\n\n### Example\n\nLet's look at an example, assume our repo is called `amazing-app`:\n\n```sh\nλ amazing-app ❯ tree\n.\n├── README.md\n├── firebase.json\n└── .github\n    └── workflows\n        └── PR.yml\n```\n\n```yaml\n# pr.yml\nname: Build, preview and deploy\non:\n  pull_request:\n\non:\n  pull_request:\n\njobs:\n  # buildstep not included, can be defined in .firebase.json as a predeploy step or as a job here\n\n  # Create a preview\n  firebase-preview-dev:\n    needs: yarn-build\n    uses: entur/gha-firebase/.github/workflows/firebase-hosting-preview.yml@v1\n    with:\n      gcp_project_id: my-gcp-project-dev\n      environment: dev\n      build_artifact_name: artifacts\n      build_artifact_path: build\n  # Approval step\n  firebase-approve:\n    needs: firebase-preview-dev\n    runs-on: ubuntu-latest\n    environment: apr  # a dedicated \"Approval\" environment\n    steps:\n      - name: Approve deployment\n        run: echo \"Approving deployment\"\n  # Deploy to the \"live\" channel\n  firebase-deploy-dev:\n    needs: firebase-approve\n    uses: entur/gha-firebase/.github/workflows/firebase-hosting-deploy.yml@v1\n    with:\n      gcp_project_id: my-gcp-project-dev\n      environment: dev\n      build_artifact_name: artifacts\n      build_artifact_path: build\n```\n\nPS: To get a stop before we deploy to production we use \"Environment protection rules\":\n![Approval environment setting](approval_env.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentur%2Fgha-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fentur%2Fgha-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentur%2Fgha-firebase/lists"}