I'm getting "Pages on this repository are disabled." in Settings/Pages #23927
|
I created a public repo “username.github.io” (with our github username of course) and in its Settings / Pages page, I get this error: Back Story: Initially, I created a repo with the exact capitalization as the github username, i.e. something like UserName…, and then I ran into above error. However, I then read that it needs to be all lowercase. I changed the repo name, but the error was the same. So I changed the name back to UserName…, deleted the repo, and created a new one with the name username… But the problem persists. How can I enable Pages for this repo? |
Replies: 6 comments 9 replies
|
Is the repository public or private? |
|
It is public. GitHub - TRAdEWORKS/tradeworks.github.ioContribute to TRAdEWORKS/tradeworks.github.io development by creating an account on GitHub. (I had deleted it after my post, but have since recreated it - the error is still there). |
|
The error you’re seeing relates to an organization level setting under “member privileges”. This is there to prevent users from publishing organization content to the public: It sounds like your organization has Public option disabled, which would prevent anyone in the org from publishing a pages site on |
|
That was it. Thanks! |



The error you’re seeing relates to an organization level setting under “member privileges”. This is there to prevent users from publishing organization content to the public:
It sounds like your organization has Public option disabled, which would prevent anyone in the org from publishing a pages site on
<username>.github.io.