Skip to main content

Unpublishing a GitHub Pages site

You can unpublish your GitHub Pages site so that the site is no longer available.

Who can use this feature

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

GitHub Pages está disponível em repositórios públicos com GitHub Free e GitHub Free para organizações, e em repositórios públicos e privados com GitHub Pro, GitHub Team, GitHub Enterprise Cloud e GitHub Enterprise Server. Para obter mais informações, confira "produtos de GitHub".

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

  1. On GitHub.com, navigate to the main page of the repository.

  2. Under GitHub Pages, next to the Your site is live at message, click .

  3. In the menu that appears, select Unpublish site.

    Drop down menu to unpublish site