Note
To publish a GitHub Pages site privately, your organization must use GitHub Enterprise Cloud. For more information about how you can try GitHub Enterprise Cloud for free, see Setting up a trial of GitHub Enterprise Cloud.
For information about who can access a privately published site, how its subdomain works, and what happens to it if your organization stops using GitHub Enterprise Cloud, see About privately published GitHub Pages sites.
Changing the visibility of your GitHub Pages site
-
On GitHub, navigate to your site's repository.
-
Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

-
In the "Code, planning, and automation" section of the sidebar, click Pages.
-
Under "GitHub Pages", select the GitHub Pages visibility dropdown menu, then select a visibility.
-
To see your published site, under "GitHub Pages", click Visit site.

Note
It can take up to 10 minutes for changes to your site to publish after you push the changes to GitHub. If you don't see your GitHub Pages site changes reflected in your browser after an hour, see About Jekyll build errors for GitHub Pages sites.