How to remove a hosted site from firebase

I have a hosted site on firebase that I no longer use. I still want to save the project, but I want to delete the hosted site. Is there a way to do this or just need to load an empty directory. This doesn't seem to be an option in the user interface.

+34
source share
5 answers

It can be deleted.

  1. First run firebase hosting:disable through the firebase-tools CLI.
  2. Go to the Firebase console and select Hosting in the menu on the left.
  3. You will see a detailed project with a list of your historical actions, such as 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 remove the deployment.
+76
source

This is a little 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 is an overflow menu ( three vertical dots) on the right.
  • From the overflow menu, select Delete Domain
+2
source

I spent too much time on this and hopefully this can be helpful. I deployed my stuff using firebase deploy , however I could not see them on the Firebase console. When I tried firebase hosting:disable , I got this Error: HTTP Error: 400, Invalid project ID specified.

The following steps helped me delete my project.

  • To find the project, you should 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 the project settings. You should be able
    delete your project there.

0
source

1. Log in to Firebase, then open your project.

2.Click on the “Settings” icon, then select Project Settings .

3. In the "Your Applications" card, select the application you want to remove.

4. Find the "Delete Project" button at the bottom of the page and click Delete Project .

5. Check the points, then click Delete application forever.


0
source

There is currently no proper way to bulk delete all previous deployments in a project.

However, the best thing you can do is to clear the firebase hosting folder and then expand it with firebase deploy

This option was provided as a function request for firebase. We hope that it will be realized soon :)

-one
source

Source: https://habr.com/ru/post/1015462/


All Articles