{"id":15987171,"url":"https://github.com/seanmcp/tutorial-deploy-gh-pages","last_synced_at":"2025-04-04T22:12:49.685Z","repository":{"id":97283363,"uuid":"146772778","full_name":"SeanMcP/tutorial-deploy-gh-pages","owner":"SeanMcP","description":"Tutorial to deploy a static site to GitHub Pages","archived":false,"fork":false,"pushed_at":"2018-08-30T16:59:56.000Z","size":282,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T06:41:43.276Z","etag":null,"topics":["github","github-pages","hosting","how-to","static-site","tutorial"],"latest_commit_sha":null,"homepage":"https://seanmcp.github.io/tutorial-deploy-gh-pages","language":"HTML","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/SeanMcP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-08-30T15:52:09.000Z","updated_at":"2018-08-30T17:01:10.000Z","dependencies_parsed_at":"2023-03-30T13:05:23.006Z","dependency_job_id":null,"html_url":"https://github.com/SeanMcP/tutorial-deploy-gh-pages","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/SeanMcP%2Ftutorial-deploy-gh-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeanMcP%2Ftutorial-deploy-gh-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeanMcP%2Ftutorial-deploy-gh-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeanMcP%2Ftutorial-deploy-gh-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeanMcP","download_url":"https://codeload.github.com/SeanMcP/tutorial-deploy-gh-pages/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256116,"owners_count":20909240,"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":["github","github-pages","hosting","how-to","static-site","tutorial"],"created_at":"2024-10-08T03:21:25.846Z","updated_at":"2025-04-04T22:12:49.680Z","avatar_url":"https://github.com/SeanMcP.png","language":"HTML","readme":"# Tutorial: How to deploy to GitHub Pages\n\nTutorial to deploy a static site to GitHub Pages\n\n## Step 1: Create/go to a repo\n\nGitHub Pages is a great hosting option for static web pages. Create a repo with some HTML, CSS, and JS or navigate to another that you wish to deploy. For the purpose of this tutorial, I'm going to use this repo: `seanmcp/tutorial-deploy-gh-pages`.\n\n## Step 2: Go to \"Settings\"\n\nClick on \"Settings\" to the far-right of your repo's tab menu.\n\n![Click \"Settings\"](/images/go-to-settings.png)\n\nThen scroll down to the \"GitHub Pages\" section.\n    \n![GitHub Pages settings](/images/find-gh-pages.png)\n\n## Step 3: Select your source\n\nGitHub Pages can be deployed from any branch on your repo. For the purpose of this tutorial, we'll be using the `master` branch, but it is also common to use a dedicated `gh-pages` branch.\n\nSelect your branch you want to deploy from the dropdown.\n\n![Select the branch you want to deploy](/images/select-branch.png)\n\nFinally, click \"Save\".\n\n## Step 4: 🎉 Celebrate!\n\nThat's it; you're done! You should see a confirmation banner at the top of the screen.\n\n![Confirmation that the branch has been set](/images/confirmation.png)\n\nYour repo should be up and running at `https://\u003cusername\u003e.github.io/\u003crepo\u003e`.\n\nIn our case, [https://seanmcp.github.io/tutorial-deploy-gh-pages](https://seanmcp.github.io/tutorial-deploy-gh-pages).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanmcp%2Ftutorial-deploy-gh-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanmcp%2Ftutorial-deploy-gh-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanmcp%2Ftutorial-deploy-gh-pages/lists"}