Search code examples
githubgithub-pages

GitHub Pages for Private Repository


Anyone know if there's a way to create GitHub Pages for a Private Repo?

I was just thinking about the possibility to use GitHub Pages to host a small website, but keep the source repository private. This way the only way the content would be exposed would be through the public GitHub Pages URL.

FYI, I would just try it and see, but I don't want to convert to a paid GitHub account at this point until I know if this is possible.


Solution

  • As of August 2020

    It is only possible with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server.

    enter image description here

    See: What is GitHub pages