Skip to content

Instantly share code, notes, and snippets.

Created September 19, 2018 22:42
What would you like to do?
#!/usr/bin/env sh
# author: Gary A. Stafford
# site:
# license: MIT License
set -ex
# Set constants
# Deploy the Google Cloud Function
gcloud beta functions deploy ${FUNCTION_NAME} \
--runtime nodejs8 \
--region ${REGION} \
--trigger-http \
--memory 256MB \
--env-vars-file .env.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment