Skip to main content

이 버전의 GitHub Enterprise Server는 2023-09-25. 중요한 보안 문제에 대해서도 패치 릴리스가 이루어지지 않습니다. 성능 향상, 향상된 보안, 새로운 기능을 위해 최신 버전의 GitHub Enterprise로 업그레이드합니다. 업그레이드에 대한 도움말은 GitHub Enterprise 지원에 문의하세요.

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가 있는 퍼블릭 및 프라이빗 리포지토리에서 사용할 수 있습니다.

When you unpublish your site, your current deployment is removed and the site will no longer be available. Any existing repository settings or content will not be affected.

Unpublishing a site does not permanently delete the site. For information on deleting a site, see "Deleting a GitHub Pages site."

Unpublishing a project site

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.
  2. If a gh-pages branch exists in the repository, delete the gh-pages branch. For more information, see "Creating and deleting branches within your repository."
  3. If the gh-pages branch was your publishing source, your site is now unpublished and you can skip the remaining steps.
  4. Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings. Screenshot of a repository header showing the tabs. The "Settings" tab is highlighted by a dark orange outline.
  5. In the "Code and automation" section of the sidebar, click Pages.
  6. Under "GitHub Pages", use the branch dropdown menu and select None. Screenshot of Pages settings in a GitHub repository. A menu to select a branch for a publishing source, labeled "None," is outlined in dark orange.

Unpublishing a user or organization site

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.
  2. Delete the branch that you're using as a publishing source, or delete the entire repository. For more information, see "Creating and deleting branches within your repository" and "Deleting a repository."

Re-enabling a site that has been unpublished

Unpublishing your GitHub Pages site removes your current deployment. To make your site available again, you can create a new deployment.

Re-enabling a project site

  1. Configure your publishing source to publish from a branch of your choosing. For more information, see "Configuring a publishing source for your GitHub Pages site."
  2. Commit to your publishing source to create a new deployment.

Re-enabling a user or organization site

Because your publishing source was deleted during unpublishing, you will need to create a new publishing source and configure a new GitHub Pages site. For more information, see "Configuring a publishing source for your GitHub Pages site."