How To Host your static website with Github

medaminefh

Mohamed Amine Fh

Posted on September 18, 2021

How To Host your static website with Github

You Have an Html, Css and Js files in your computer and you want to show it to your colleagues ?
Github Has an amazing static site hosting service that takes HTML, CSS, and JavaScript files straight from your repository

Lets go to the steps:

1- Create a repository with your username followed by .github.io

in my case my username is BegDevv, so the repo name would be BegDevv.github.io :
Create a Repo

2- Upload your static files into that repository (Html/Css/Js)

you're done 💯 ❤ github will host your files in that repo automatically Go to https://{yourusername}.github.io (change yourusername with yours)

💖 💪 🙅 🚩
medaminefh
Mohamed Amine Fh

Posted on September 18, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related