Skip to content

Commit

Permalink
Update deploy.sh (#6)
Browse files Browse the repository at this point in the history
gcp cloud function deploy with runtime
  • Loading branch information
Hitamashi authored Feb 11, 2019
1 parent 92ff90e commit b44d892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ deployCF() {
echo "Deploy Cloud Function $1 in $3 region"
gcloud functions deploy $1 \
--source https://source.developers.google.com/projects/${PROJECTID}/repos/gce-compute/moveable-aliases/master/paths/cloudfunction \
--trigger-http --entry-point=$2 --region=$3 --memory=$4
--trigger-http --entry-point=$2 --region=$3 --memory=$4 --runtime nodejs6
}

configGenerate() {
Expand Down

0 comments on commit b44d892

Please sign in to comment.