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:
- a github action is created (auto deploy)
- whenevery you deploy with
firebase deploy:hosting
the action is triggered - 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