Skip to main content

Управление публикацией сайтов GitHub Pages для организации

Вы можете управлять тем, могут ли члены организации публиковать GitHub Pages сайты из репозиториев организации.

Кто эту функцию можно использовать?

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. For more information, see "GitHub’s plans."

You can choose to allow or disallow organization members from publishing GitHub Pages sites. Organizations that use GitHub Enterprise Cloud can also choose to allow publicly published sites, privately published sites, both, or neither. For more information, see the GitHub Enterprise Cloud documentation.

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 upper-right corner of GitHub.com, select your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  2. Next to the organization, click Settings.

  3. In the "Access" section of the sidebar, click Member privileges.

  4. Under "Pages creation, select or deselect Public.

    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."

  5. Click Save.

Further reading