Create a private Github pages

I have a Github organization, and I am going to create a private or internal repo in that organization. That repo is going to host a Github Pages site. But I want the site to be private and not publically accessible by people outside the organization. How do I do this?

Hello and welcome here!

We support what you are describing and call it Pages access control. This is available only to Enterprise customers today and documented here: Changing the visibility of your GitHub Pages site - GitHub Docs.

Hope it helps,