Home > Web Front-end > HTML Tutorial > What happens when a project on github is published as a static web page?

What happens when a project on github is published as a static web page?

零下一度
Release: 2017-06-24 11:45:10
Original
2290 people have browsed it

After the code is uploaded successfully, you can publish the static web page. Careful children should have seen that the code I uploaded has an html file in the root directory (I have not tried publishing in other situations, so if you are interested, try it yourself). It will be automatically recognized when you select the warehouse.

Step 1: Click setting

Step 2: Set

The warehouse name is consistent with the accessed second-level domain name

Scroll the mouse and you will see the GitHub Pages column below

The entire release is now complete.

After the settings are completed, go back to the code interface, and there will be an additional configuration file in it

Release reference, but I don’t know if it is due to GiuHub revision , there is always something different.

Common errors: Web page not found: That’s because there is no index.html file in your root directory. This is an error I encountered only after a year.

The above is the detailed content of What happens when a project on github is published as a static web page?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template