Joseph
Joseph

Reputation: 863

Disable Firebase hosting github deploy

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

Upvotes: 2

Views: 1340

Answers (1)

dcts
dcts

Reputation: 1639

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 this guide:

enter image description here

Upvotes: 5

Related Questions