We can use GitHub to publish our website (static website), just a few simple steps. This allows small partners to show their personal items to a friend or interviewer.
First step: Create a new warehouse
Step Two: Select the "Settings" page in the warehouse and find the following "GitHub pages" and click to go to a random topic
step three: After selecting a theme, you can see a blog address. Address format: https:// username. github.io/Warehouse name/ when you upload your own file, you can see the page by visiting the address. The default is to access the index.html, if your file is called abc.html, you need to access:https://user name. github.io/Warehouse Name/abc.html
1 first item download to Local: git clone+ code address
2 Put your files in the project folder
3 upload to GitHub, access the link to see
Git add-a
git commit-m ' update code '
Git push Origin Master
My git address: https://github.com/lucas270/staticWeb
Post a personal site/blog based on GitHub