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 internal and private repositories with GitHub AE. 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."
In the top right corner of GitHub AE, click your profile photo, then click Your profile.
On the left side of your profile page, under "Organizations", click the icon for your organization.
Under your organization name, click Settings.
In the left sidebar, click Member privileges.
Under "Pages creation", select or deselect Allow members to publish sites.