如何从Firebase中删除托管站点 [英] How do I remove a hosted site from firebase
本文介绍了如何从Firebase中删除托管站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在firebase上有一个不再使用的托管站点.我仍然想保留项目,但要删除托管站点.有什么方法可以做到这一点,还是我只需要上传一个空目录.似乎不是用户界面中的选项
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
推荐答案
可以删除.
- 首先通过
firebase-tools
CLI运行firebase hosting:disable
. - 转到Firebase控制台,然后从左侧菜单中选择
Hosting
. - 您将看到已部署的项目,其中包含您的历史操作列表,例如
Deployed
,disabled
等. - 仅在禁用站点后,三个垂直点"菜单才可供您选择删除部署的操作.
- Run
firebase hosting:disable
through thefirebase-tools
CLI first. - Go to Firebase Console and select
Hosting
from 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.
这篇关于如何从Firebase中删除托管站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文