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 upper-right corner of GitHub, click your profile picture, then click Organizations.
-
Select an organization by clicking on it.
-
Under your organization name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

-
In the "Access" section of the sidebar, click Member privileges.
-
Under "Pages creation", select or deselect Allow members to publish sites.
-
Click Save.