I'd like to get an email upon every firebase deploy
.
Reason: security - I want to know if someone hacks into my account and deploys an alternative firebase backend.
Is it possible?
I'd like to get an email upon every firebase deploy
.
Reason: security - I want to know if someone hacks into my account and deploys an alternative firebase backend.
Is it possible?
This feature doesn't exist. You could file a feature request.
You can ahceive what you are after using Firebase Cloud Functions. Here an article, Email via Firebase Firestore Cloud Function Triggers showing the exact script to email on one of these events that you can use/adapt to your specific needs/project.
For Firestore:
Trigger a Cloud Firestore function
The Cloud Functions for Firebase SDK exports a functions.firestore object that allows you to create handlers tied to specific events.
Cloud Firestore supports create, update, delete, and write events:
Event Type Trigger
.onCreate
Triggered when a document is written to for the first time.
.onUpdate
Triggered when a document already exists and has any value changed.
.onDelete
Triggered when a document with data is deleted.
.onWrite
Triggered when .onCreate, .onUpdate or .onDelete is triggered.