Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy firebase.rules automatically to Firebase Console #36

Open
cgalo opened this issue Apr 9, 2022 · 0 comments
Open

Deploy firebase.rules automatically to Firebase Console #36

cgalo opened this issue Apr 9, 2022 · 0 comments
Assignees

Comments

@cgalo
Copy link
Member

cgalo commented Apr 9, 2022

Overview

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

References

  • Discord Thread
  • Medium blog tutorial
    • 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
@cgalo cgalo changed the title Deploy firebase.rules automatically to firebase Deploy firebase.rules automatically to Firebase Apr 9, 2022
@cgalo cgalo self-assigned this Apr 9, 2022
@cgalo cgalo changed the title Deploy firebase.rules automatically to Firebase Deploy firebase.rules automatically to Firebase Console Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant