Created
November 16, 2018 13:05
-
-
Save georgschlenkhoff/0a385c9cf85973cacd1dbea058550237 to your computer and use it in GitHub Desktop.
This file contains 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 | |
echo "Setting environment variables" | |
gcloud beta functions deploy functionName --env-vars-file .env.yaml | |
echo "Starting deployment to Google Functions" | |
gcloud functions deploy functionName --runtime nodejs8 --trigger-http --memory=1024MB --timeout=90s --region=europe-west3 | |
echo "Ended deployment to Google Functions" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment