My new Github page isn't showing up

后端 未结 24 2202
臣服心动
臣服心动 2021-01-31 08:04

So I\'m following this guide here to create a Github page

I created a repository, cloned it to my project directory and pushed, finally got to this last step:

         


        
相关标签:
24条回答
  • 2021-01-31 08:36

    I'm not sure if the site just needed some time to show up, but I was getting a 404 error after pushing my master branch... Then I changed my 'theme' in the repo's settings. All of a sudden it started working! A file called config.yml appeared with the theme metadata.

    0 讨论(0)
  • 2021-01-31 08:38

    Rename your repository to <yourusername>.github.io as explained in the documentation.

    To publish a user site, you must create a repository owned by your user account that's named <user>.github.io.

    Edit: You can only use your own account name for a User or Org Pages repository. A repository like joe/bob.github.io will not build Pages.

    0 讨论(0)
  • 2021-01-31 08:39

    In the case you have followed everything told in the steps such as : Repository name should be username.github.io

    The main thing is you must add READ.md file to your repository. For sure your website will show up.

    0 讨论(0)
  • 2021-01-31 08:44

    Don't forget to enable Git Pages

    0 讨论(0)
  • 2021-01-31 08:45

    I had same issue with Angular app. I forgot to make repo public :) Even tho i didn't use the username/username.github.io repo naming scheme it worked at <username>.github.io/<repo-name>.

    0 讨论(0)
  • 2021-01-31 08:45

    My page was working, but then I tried to connect it to Heroku which led to a 404 error. After switching back to the original, I still got the error. I got around this by going in the settings of the repo and actually changing the name.

    0 讨论(0)
提交回复
热议问题