{"id":21623103,"url":"https://github.com/explooosion/react-gke-deploy-example","last_synced_at":"2026-04-05T21:37:02.276Z","repository":{"id":66234146,"uuid":"302371890","full_name":"explooosion/react-gke-deploy-example","owner":"explooosion","description":"Build and deploy react app to GKE with Github Actions","archived":false,"fork":false,"pushed_at":"2020-10-10T13:18:30.000Z","size":219,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T19:30:51.519Z","etag":null,"topics":[],"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/explooosion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2020-10-08T14:43:40.000Z","updated_at":"2022-03-16T08:20:15.000Z","dependencies_parsed_at":"2023-02-22T06:30:29.384Z","dependency_job_id":null,"html_url":"https://github.com/explooosion/react-gke-deploy-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/explooosion/react-gke-deploy-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explooosion%2Freact-gke-deploy-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explooosion%2Freact-gke-deploy-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explooosion%2Freact-gke-deploy-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explooosion%2Freact-gke-deploy-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/explooosion","download_url":"https://codeload.github.com/explooosion/react-gke-deploy-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explooosion%2Freact-gke-deploy-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31451445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"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":[],"created_at":"2024-11-25T00:11:40.279Z","updated_at":"2026-04-05T21:37:02.238Z","avatar_url":"https://github.com/explooosion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React GKE Deploy Example\n\nBuild your app to docker image, publish and deploy on GCP [Cloud Run](https://console.cloud.google.com/run) with github actions.\n\nBlog: [GCP - 使用 Github Actions 部署 React 到 GKE](https://dotblogs.com.tw/explooosion/2020/10/10/040358)\n\n# Configuration\n\n1. Create GCP [project](https://console.cloud.google.com/projectcreate)\n\n2. Creating [service account keys](https://cloud.google.com/iam/docs/creating-managing-service-account-keys)\n\n3. Download json key look like this:\n\n```json\n{\n  \"type\": \"service_account\",\n  \"project_id\": \"project-id\",\n  \"private_key_id\": \"key-id\",\n  \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nprivate-key\\n-----END PRIVATE KEY-----\\n\",\n  \"client_email\": \"service-account-email\",\n  \"client_id\": \"client-id\",\n  \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n  \"token_uri\": \"https://accounts.google.com/o/oauth2/token\",\n  \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n  \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/service-account-email\"\n}\n```\n\n4. Create Github Secrets\n\n    - GCP_SA_KEY (paste json file)\n    - GCP_PROJECT_ID\n\n5. Add `gke.yml`, `kustomization.yml`, `deployment.yml`, `service.yml` to your project\n\n6. Add `Dockerfile` to your project\n\n7. Push your project to Github repo\n\n6. Run Github Actions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplooosion%2Freact-gke-deploy-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexplooosion%2Freact-gke-deploy-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplooosion%2Freact-gke-deploy-example/lists"}