Github Pages are not published after following the documentation

I know this question has been asked several times before, but none of the answers given seem to fix my problem. I followed the documentation (or at least, I believe I did, as I read through it several times), but I seem to be missing something:

What have I got:

This is my current GitHub Pages settings tab:

What I haven’t got:

  • The GitHub Page https://simpleinjector.github.io/ keeps giving a 404, even after 20 hours of first pushing files to the repository.
  • The GitHub Page settings does not state that the build failed, nor that it succeeded. I’ve seen screenshots on Stack Overflow that show that the settings tab should show either a success or error message. This indicates to me that for some reason Github has no idea that this repository should be the GitHub Page repo.

There must be something I am forgetting, but I feel that I followed the documentation to the letter. Can anyone point out my mistake?

2 Likes

Are you trying to directly go to https://username.github.io/index.html ?

2 Likes

Absolutely. The following link does not serve the index.html as you would expect:

It think this proves the repository is not published on github.io.

In order for your site to be published, a Jekyll theme must be chosen, even if you don’t use Jekyll at all.

91 Likes

SOLVED


WOW this actually made my site show up. THANK YOU.

I’ve been trying all sorts to get my site to show. Who knew you had to set a theme?! How does that make any sense?! I’ve not read that anywhere else

2 Likes

please how long did it take for the site to show up after selecting the theme

1 Like

For me, it appeared instantly.

1 Like

IDK HOW that made it word, but it did. Assigning a theme made everything publish - thank you!

How did you attach the theme guys?

do you have answer know?if yes, could you tell me please

what you did could you explain ?

1 Like

The answer is to add Jekyll theme. You do this on the settings tab of the repository of your github pages site.  The official documentation from Github on this page https://pages.github.com/ is missing this vital step.

I did this but still doesnt work 

2 Likes

Also did this, no change, still seing readme

2 Likes

Hey! I added the theme but still no progress. Can you please elaborate how what to do after changing the theme? Like do I need to do something with the markdown files or any other file?

Thanks

Hey! I added the theme but still no progress. Can you please elaborate how what to do after changing the theme? Like do I need to do something with the markdown files or any other file?