The project on github is published as a static webpage, And the github static webpage

Source: Internet
Author: User

The project on github is published as a static webpage, And the github static webpage

After the code is uploaded successfully, you can publish the static webpage. The careful kids shoes should have seen that the uploaded code has an html file in the root directory (I have not tried to publish other files, if you are interested in trying it on your own), the repository will be automatically identified when you choose to release it.

Step 1: Click setting

Step 2: Set

The warehouse name and access second-level domain name are consistent

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

The entire release has been completed.

After the configuration is complete, return to the code interface. a configuration file is displayed.

 

Release references.

 

Common error: webpage not found: it is because no index.html file exists in the root directory. This is also an error that I encountered after a year.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.