Managing the publication of GitHub Pages sites for your organization

You can control whether organization members can publish GitHub Pages sites from repositories in the organization.

Organization owners can manage the publication of GitHub Pages sites from repositories in the organization.

GitHub Pages is available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server.

If you disallow publication of GitHub Pages sites, any sites that are already published will remain published. You can manually unpublish the site. For more information, see "Unpublishing a GitHub Pages site."

  1. In the top right corner of GitHub Enterprise Server, click your profile photo, then click Your organizations. Your organizations in the profile menu
  2. Next to the organization, click Settings. The settings button
  3. In the left sidebar, click Member privileges. Member privileges option in org settings
  4. Under "Pages creation", select or deselect Allow members to publish sites. Unselected checkbox for "Allow members to publish sites" option
  5. Click Save.

Further reading

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.