问题
I have a hosted site on firebase which I am not using anymore. I still want to keep the project but want to remove the hosted site. Is there any way to do this or do I just need to upload an empty directory. Doesn't seem to be an option in the UI
回答1:
It can be deleted.
- Run
firebase hosting:disablethrough the firebase-tools CLI first. - Go to Firebase Console and select
Hostingfrom the menu of the left. - You will see the deployed project with a list of your historical actions like
Deployed,disabled, etc. - Only after you have disabled the site, the "three vertical dots" menu will be available for you to choose the action to delete the deployment.
回答2:
It's a bit hidden, but here are the steps:
- Go to the Firebase Hosting console for your project, you will see your domain.
- Hover over your domain. There's an overflow menu (⋮ three vertical dots)on the right.
- From the overflow menu select Delete Domain
回答3:
I spent too much time on this and hopefully this can be helpful. I did deploy my stuff using firebase deploy however I was not able to see in on the firebase console. When I tried firebase hosting:disable I got this Error: HTTP Error: 400, Invalid project ID specified.
The steps below helped me delete my project.
To find the project, you have to get the output of
firebase deploywhich will have a console url that looks like this:Project Console: https://console.firebase.google.com/project/<your-project-id>/overview.Follow this link and go to project settings. You should be able to
delete your project in there.
回答4:
As of now there is no proper way to bulk delete all the previous deployments in a project.
However the best thing you can do is to empty the firebase hosting folder and then deploy it using firebase deploy
This option has been given as a feature request to firebase. Lets hope its get implemented soon :)
回答5:
1.Sign in to Firebase, then open your project.
2.Click the Settings icon near project Overview button, then select Project settings.
3.In the Your apps card, select the app that you want to delete.
4.Find the Delete Project button from bottom of the page , click Delete Project.
5.Check the points , then click Remove app permanently.
来源:https://stackoverflow.com/questions/42591099/how-do-i-remove-a-hosted-site-from-firebase