How To Publish Your HTML With Github Pages

Anil Emrah
3 min readApr 1, 2020

Hi! In this story we are going to learn how to publish our HTML files with Github Pages.

With Github Pages you can host your static web pages with minimum effort. We can store our files at the repository of our page and with specific URL, anyone can view your project website. You can visit the webpage of Github Pages for detailed information. You can do much more with Github Pages but in this story we will show how to publish basic HTML, you can make this story as a starting point to continue with your project or personel page.

Let’s start. First of all you need to create new repository for this.

We need to create a repository named “username.github.io”, but you need to change “username” with your username. In my case that will be “anilemrah.github.io”. Let’s create your repository.

After created your repository, let’s add our .html file as index.html. We are adding index.html because github renders index.html first.

--

--

Anil Emrah
Anil Emrah

Written by Anil Emrah

Sweden-based full-time developer, and lifelong learner. Loves to learn and experience. Motto: Stay Hungry, Stay Foolish | @anilemrah_