How do I remove a hosted site from firebase

痴心易碎 提交于 2019-11-30 11:18:20

问题


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.

  1. Run firebase hosting:disable through the firebase-tools CLI first.
  2. Go to Firebase Console and select Hosting from the menu of the left.
  3. You will see the deployed project with a list of your historical actions like Deployed, disabled, etc.
  4. 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:

  1. Go to the Firebase Hosting console for your project, you will see your domain.
  2. Hover over your domain. There's an overflow menu ( three vertical dots)on the right.
  3. 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 deploy which 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!