I was installing docusaurus and by mistake did the deploy into the wrong repository. Got into some troubles to disable the GitHub Pages, but after a while I did. But the tab don't go away and I can't find a way to remove it.
There is any way?
Thanks for reaching out! It isn't currently possible to remove the environment tab but our Engineering Team is working on adding a setting for this in the future.
I can't guarantee if or when we'll have the setting shipped but I'll pass on your +1 to the team for this feature.
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!
It would be really nice to have the ability to remove Deployments / Environments.
My repo is now using GitHub Actions for deployments. Previously it used the Zeit Now plugin for GitHub for deployments, and GitHub Pages before that.
My repo's Environments page is full of artifacts from these old deployment options whereas the current option with GitHub Actions doesn't actually show up there (I'm currently using a fork off of actions/zeit-now).
This question has also been asked on Stack Overflow here - https://stackoverflow.com/questions/53452910/how-to-remove-a-github-environment.
Side note: The top of this post says "Solved! Go to Solution." but clicking that link leads to a post saying this is an unsolved open issue.
Any news on this so far? We would like to remove environments by using the API.
Works for us by setting the deployment status to 'inactive'.
Don't forget to include those preview headers: https://developer.github.com/v3/repos/deployments/#parameters-2
If I'm not wrong, it is for 'tracking product deployments', e.g. a website to GitHub pages, a backend to Heroku, etc.
It seems to be just a page where you can see details about when your product was shipped to production, but we have commit status checks for it so it is dumb.