Search code examples
gitgithub-pages

Following the naming convension, but my github project page still gives me a 404


I have an origination called BigSense and I have the following repository for my presentations:

https://github.com/BigSense/presentations

It has a branch called gh-pages with just the generated code, but when I attempt to access a page within it:

http://bigsense.github.io/presentations/scala.html

I get a 404. I've read through the help pages multiple times and I seem to be following all the correct naming conventions. What am I missing?


Solution

  • I believe you need to create an organization repo first. Once http://bigsense.github.io/ is working, the presentation will also be accessible.

    Here is the documentation:

    User & Organization Pages live in a special repository dedicated to GitHub Pages files. You will need to name this repository with the account name, e.g. atmos/atmos.github.io.

    You must use the username.github.io naming scheme. Content from the master branch will be used to build and publish your GitHub Pages site. You can only use your own account name for a User or Organization Page repository. A repository like joe/bob.github.io will not build a User Pages site.

    When User Pages are built, they are available at http(s)://.github.io.