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 适用于具有 GitHub Free 和组织的 GitHub Free 的公共仓库,以及具有 GitHub Pro、GitHub Team、GitHub Enterprise Cloud 和 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. 个人资料菜单中的组织
  2. 在组织旁边,单击 Settings(设置)设置按钮
  3. 在左侧边栏中,单击 Member privileges(成员权限)组织设置中的成员权限选项
  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

此文档对您有帮助吗?

隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或者, 了解如何参与。