DEV Community

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

Posted on • Edited on

4 2

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

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (1)

Collapse
 
preyashyadav profile image
Preyash

Beautifully explained!✨✨

Sentry image

Make it make sense

Only the context you need to fix your broken code with Sentry.

Start debugging →

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay