Home > Enterprise >  Disable Firebase hosting github deploy
Disable Firebase hosting github deploy

Time:05-30

I'm trying to disable firebase hosting. I currently have GitHub deploys enabled, so when I push, firebase hosting gets another deployment.

I disabled hosting with

firebase hosting:disable

But then it re-enables when I do git push.

How do I disable this? I've searched and can't find a way to disable this feature -- only enable.

Also there's nothing related in

firebase -h

CodePudding user response:

When initializing github auto deploy with firebase, the following things happen under the hood:

  1. a github action is created (auto deploy)
  2. whenevery you deploy with firebase deploy:hosting the action is triggered
  3. whenevery you deploy with git push ... the action is triggered

Disabling the hosting with firebase deploy:hosting only disables the action when deploying from firebase, not from github. To remove that action from github too follow enter image description here

  • Related