DEV Community

loading...
Cover image for Deploy a Simple Website Using Github Pages

Deploy a Simple Website Using Github Pages

Pranav Viswanathan
Undergrad Student at Vellore Institute of Technology (Chennai)
・Updated on ・1 min read

So what is github pages?

Github pages is a feature in github that allows you to deploy static webpages.

How do I do it?

Its actually really simple, lemme walk you through it:

Step 1:
Make a github repository.
image
image

Step 2:
Upload a simple .html page with the name as index.html. It is important to note that the name of the web page MUST be index.html
image
and then commit the change.

Step 3:
Go to
Repository settings -> Pages.
image

Step 4:
Set the branch to main and save.
image
You will see a " is ready to be published."
image

In a few minutes, your website will be ready to view!
And that's it, 4 simple steps and then you have you first website deployed using gitub pages.
image
Connect with me on Linkedin
View my Github Page

Discussion (0)