{"id":26363712,"url":"https://github.com/sundevil311/github-pages-example","last_synced_at":"2025-08-27T01:50:09.788Z","repository":{"id":272532737,"uuid":"915163055","full_name":"SunDevil311/github-pages-example","owner":"SunDevil311","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-11T06:13:06.000Z","size":445,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T08:51:47.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":false,"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/SunDevil311.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":"2025-01-11T06:04:52.000Z","updated_at":"2025-01-11T06:11:08.000Z","dependencies_parsed_at":"2025-01-15T03:48:03.432Z","dependency_job_id":"61301ebc-0260-4edc-95b8-e78f5e7f906d","html_url":"https://github.com/SunDevil311/github-pages-example","commit_stats":null,"previous_names":["sundevil311/github-pages-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SunDevil311/github-pages-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunDevil311%2Fgithub-pages-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunDevil311%2Fgithub-pages-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunDevil311%2Fgithub-pages-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunDevil311%2Fgithub-pages-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SunDevil311","download_url":"https://codeload.github.com/SunDevil311/github-pages-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunDevil311%2Fgithub-pages-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272277853,"owners_count":24905573,"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","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-03-16T18:28:25.485Z","updated_at":"2025-08-27T01:50:09.758Z","avatar_url":"https://github.com/SunDevil311.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploying to GitHub Pages\n\nThis example supports deploying a statically exported Next.js application to GitHub Pages.\n\nThe `out` directory should not be ignored by version control.\n\n## How to use\n\nExecute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:\n\n```bash\nnpx create-next-app --example github-pages github-pages-app\n```\n\n```bash\nyarn create next-app --example github-pages github-pages-app\n```\n\n```bash\npnpm create next-app --example github-pages github-pages-app\n```\n\n### Deploy to GitHub Pages\n\n1.  Create a new public GitHub repository.\n1.  Edit `next.config.js` to match your GitHub repository name:\n    - Given the pattern `https://github.com/\u003cuser\u003e/\u003crepo\u003e`, update your `basePath` config to `/repo`.\n1.  Push the starter code to the `main` branch.\n1.  Run the `deploy` script (e.g. `npm run deploy`) to create the `gh-pages` branch.\n1.  On GitHub, go to **Settings** \u003e **Pages** \u003e **Branch**, and choose `gh-pages` as the branch with the `/root` folder. Hit **Save**.\n1.  Make a change.\n1.  Run the `deploy` script again to push the changes to GitHub Pages.\n\nCongratulations! You should have a URL like:\n\n```bash\nhttps://\u003cgithub-user-name\u003e.github.io/\u003cgithub-project-name\u003e/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundevil311%2Fgithub-pages-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsundevil311%2Fgithub-pages-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundevil311%2Fgithub-pages-example/lists"}