How to remove github-pages from Environments in GitHub repository?

Viewed 9989

I have created a project page for a repository in GitHub and later I deleted the gh-pages branch to delete the page. But now I see github-pages Active under the Environments section in the home page of my repository.

enter image description here

I have no idea what that section is and how to remove it. When I click on the Environments, I am taken to the page with following; View deployment button takes me to a broken 404 github page since I have deleted the page I created. enter image description here

3 Answers

If you are using Chrome then try to clear browsing data for the last 24 hours and restart. This worked for me.

(Forced to post this as an answer instead of a comment due to lacking reputation points)

You can either hide it (if it's enough) by excluding it from the homepage by clicking on the cog icon above the environments, next to About and unchecking Environments (and all else you do not want there)

enter image description here

Or you can completly remove github pages by following steps here

Related