Skip to main content
我们经常发布文档更新,此页面的翻译可能仍在进行中。 有关最新信息,请访问英语文档

Hover over a link to another article to get more details. If you have ideas for how we can improve this page, let us know in the discussion.

取消发布 GitHub Pages 站点

您可以取消发布 GitHub Pages 站点,使该站点不再可用。

谁可以使用此功能

People with admin or maintainer permissions for a repository can unpublish a GitHub Pages site.

GitHub Pages 适用于具有 GitHub Free 和组织的 GitHub Free 的公共仓库,以及具有 GitHub Pro、GitHub Team、GitHub Enterprise Cloud 和 GitHub Enterprise Server 的公共和私有仓库。

取消发布站点时,该站点将不再可用。 所有现有存储库设置或内容都不受影响。

  1. 在 你的 GitHub Enterprise Server 实例 上,导航到存储库的主页。
  2. 在 GitHub Pages 下的“站点所在位置”消息旁,单击
  3. 在显示的菜单中,选择“取消发布站点”。 GitHub Pages 设置的屏幕截图,其中显示了实时 Pages 站点的 URL。 在右侧的水平烤肉串图标下,“取消发布站点”下拉列表选项用深橙色框出。