1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Files
docs/content/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site.md
Jeremy Udit d0edbd248f [April 6] Update Pages for new workflow and www variant settings (#17737)
* add first pass edits to support new pages settings

/cc github/pages-engineering#383

* update with reusable

* update with new step

* fix break

* update with www vvarient info

* update with latest

* apply feedback

* unversion

* typo

* update versioning to make it render

* update a few screenshots

* update with remove

* Apply suggestions from code review

Co-authored-by: Laura Coursen <lecoursen@github.com>

Co-authored-by: Meg Bird <megbird@github.com>
Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
2021-04-08 11:32:07 -07:00

2.1 KiB

title, intro, redirect_from, product, permissions, versions, topics
title intro redirect_from product permissions versions topics
Unpublishing a GitHub Pages site You can unpublish your {% data variables.product.prodname_pages %} site so that the site is no longer available.
/articles/how-do-i-unpublish-a-project-page/
/articles/unpublishing-a-project-page/
/articles/unpublishing-a-project-pages-site/
/articles/unpublishing-a-user-pages-site/
/articles/unpublishing-a-github-pages-site
/github/working-with-github-pages/unpublishing-a-github-pages-site
{% data reusables.gated-features.pages %} People with admin or maintainer permissions for a repository can unpublish a {% data variables.product.prodname_pages %} site.
free-pro-team enterprise-server github-ae
* * *
pages

Unpublishing a project site

{% data reusables.repositories.navigate-to-repo %} 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, {% if currentVersion == "free-pro-team@latest" %}skip to step 6{% else %}your site is now unpublished and you can skip the remaining steps{% endif %}. {% data reusables.repositories.sidebar-settings %} {% data reusables.pages.sidebar-pages %} 5. Under "{% data variables.product.prodname_pages %}", use the Source drop-down menu and select None. Drop down menu to select a publishing source {% data reusables.pages.update_your_dns_settings %}

Unpublishing a user or organization site

{% data reusables.repositories.navigate-to-repo %} 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." {% data reusables.pages.update_your_dns_settings %}