Reputation:
I created a GitHub Project Page for my project, storing it in the gh-pages
branch, as instructed. It was located at the following URL: [username].github.io/[project_name]
.
Later, I created an organization in GitHub and moved my project to that organization, including the same gh-pages
branch. As expected, the previous Project Page URL no longer works. However, the following url does not work as well: [organization].github.io/[project_name]
. When I check my project's settings, it says the following error in the GitHub Pages section:
Your page is having problems building: Validation failed: User must be a human, not an Organization
Does this mean it is not possible at all to have a Project Page for a repository that belongs to an organization? Or did I do something wrong along the way?
EDIT: As a workaround, I guess I could have a GitHub Organization Page in the master
branch of a new project called [organization]/[organization].github.io
, and then have a separate folder per project. That way I think it would be possible to emulate the [organization].github.io/[project_name]
URL. The only disadvantage is that I would have to centralize all the projects' Pages of my organization in the same repository.
Upvotes: 13
Views: 2609
Reputation: 153
I had the same error using CNAMEs on a project.
I needed to create a [organisation].github.io repo, and then the CNAME stuff for projects under that repo started to work.
Upvotes: 0
Reputation: 529
I'd assume not as organisations are treated differently to user accounts.
You could try making a page for your organisation first to see if that made a difference.
You can read how to here: https://help.github.com/articles/user-organization-and-project-pages
Upvotes: 3