You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if we updated our firebase.rules in our main branch, it doesn't automatically get deploy to the Firebase console. In order to deploy the updated firebase.rules we have to run the command (through terminal): firebase deploy --only firestore:rules
Possible Solution
Create a new Github Actions that is triggered whenever we merge new branch into our main branch
This should run the firebase deploy --only firestore:rules
This blog covers how to automatically deploy functions, but I am assuming we can follow the instructions and just swap the command from deploy --only functions --> deploy --only rules
The text was updated successfully, but these errors were encountered:
cgalo
changed the title
Deploy firebase.rules automatically to firebase
Deploy firebase.rules automatically to Firebase
Apr 9, 2022
Overview
Currently if we updated our
firebase.rules
in ourmain
branch, it doesn't automatically get deploy to the Firebase console. In order to deploy the updatedfirebase.rules
we have to run the command (through terminal):firebase deploy --only firestore:rules
Possible Solution
main
branchfirebase deploy --only firestore:rules
References
deploy --only functions
-->deploy --only rules
The text was updated successfully, but these errors were encountered: