GitHub Pages Sites Stay Public Even When the Source Repository Is Private

A developer exploring GitHub Pages discovered that making a repository private does not automatically make the published website private — the two settings are independent. On free and Pro personal plans, any GitHub Pages site remains publicly accessible to anyone with the URL, regardless of the repository's visibility. Access-controlled Pages sites are only available under GitHub Enterprise Cloud, and only for organization-owned repositories, not personal accounts. This means individual developers cannot restrict who views their Pages site simply by upgrading their GitHub plan. Those using Pages for internal documentation, staging environments, or unreleased client projects should be aware they need a separate access-control solution beyond GitHub's standard offerings.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in