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:
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.
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.
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.
Don't forget to enable Git Pages
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>
.
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.