DEV Community

Cover image for Deploy a Simple Website Using Github Pages
Pranav Viswanathan
Pranav Viswanathan

Posted on • Updated on

Deploy a Simple Website Using Github Pages

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

Top comments (1)

Collapse
 
preyashyadav profile image
Preyash

Beautifully explained!✨✨