How to create & deploy github.io page for free

How to create & deploy github.io page for free

Yes, you read it right, now you can create a Github page & host it for free. Whether you want to deploy your portfolio or maybe some website & do not want to pay for hosting then Github page is for you. Edit, push and your website is live.

Photo by Kevin Bhagat on Unsplash

Prerequisites: You need to have a github account & basic knowledge of git.

1. Create a repository

Go to github.com and create a new repository named as username.github.io. Remember your repository should be public.

2. Upload/Push code

Now You need to upload/push your code to Github by command line or any Github desktop app.

If you don’t know how to clone or push your code to git then this article might help you. This article has covered all the basic details of git.

3. You’re done!

Once you pushed your code, your site will be live in no time. Just hit your browser with username.github.io

Things to remember: You can only deploy static sites on Github pages(HTML, CSS, Javascript). As your Github repository is public don’t add any credentials or private code.

Heads Up: I am working on one of the cool Chrome extensions which helps to format your code easily & it’s superfast It can format your code within milliseconds. on top of it, it’s completely free for use. So go & hit that Add to Chrome Button. https://chrome.google.com/webstore/detail/code-formatter/njpgcnaadikbannefjibknjopmogeidm

[How to create a Github profile readme
Github recently released a GitHub profile readme feature where users can create a customized profile README and show it on…medium.com](https://medium.com/@akashbijwe/how-to-create-a-github-profile-readme-7b33a0cc7ef8 "medium.com/@akashbijwe/how-to-create-a-gith..")

[Custom Domain for your Github pages
Yes, You can add a custom domain name for your Github page. You just need some basic knowledge of git and domain…medium.com](https://medium.com/@akashbijwe/custom-domain-for-your-github-pages-fc4612dd3003 "medium.com/@akashbijwe/custom-domain-for-yo..")