Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.7 KB

deleting-a-github-pages-site.md

File metadata and controls

31 lines (26 loc) · 1.7 KB
title intro product permissions versions topics shortTitle
Deleting a GitHub Pages site
You can delete a {% data variables.product.prodname_pages %} site.
{% data reusables.gated-features.pages %}
People with admin or maintainer permissions for a repository can delete a {% data variables.product.prodname_pages %} site.
fpt ghes ghec
*
*
*
Pages
Delete a GitHub Pages site

Deleting your site

You can delete your site in two ways:

If you want to remove the current deployment of your site but do not want to delete the site, you can unpublish your site. For more information, see AUTOTITLE.

Deleting your site by changing the source

{% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.pages.sidebar-pages %}

  1. Under "Build and deployment", under "Source", select Deploy from a branch even if the site is currently using {% data variables.product.prodname_actions %}.
  2. Under "Build and deployment", use the branch dropdown menu and select None as the publishing source. Screenshot of Pages settings in a {% data variables.product.prodname_dotcom %} repository. A menu to select a branch for a publishing source, labeled "None," is outlined in dark orange.
  3. Click Save.