how to deploy html website on github code example
Example 1: deploy html to github pages
# -> Github.com + make public repo
'username.github.io'#, where
# username is your username
# (or organization name).
# CLONE
git clone https://github.com/username/username.github.io
# COMMIT
git add --all
git commit -m "init commit"
# DONE :)
git push -u origin main
# VIEW :)
# Fire up a browser and go to https://username.github.io.
Example 2: how to deploy a website on github
First download github in your pc.
Create a new github project.
Copy your files to the respository folder.
Publish your website.