Created
January 19, 2019 11:07
-
-
Save feloy/d181fbf3ceb210bb5cf5c677cccafe1b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gcloud beta functions deploy newScore \ | |
--entry-point OnNewScore \ | |
--memory 256MB \ | |
--region us-central1 \ | |
--runtime go111 \ | |
--trigger-event providers/cloud.firestore/eventTypes/document.create \ | |
--trigger-resource "projects/<your-project-id>/databases/(default)/documents/Score/{id}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment