Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 294 Bytes
#!/usr/bin/env bash
# get latest env vars file
cp -f ./../env_vars_file/env.yaml .
# deploy function
gcloud functions deploy http_json_to_pubsub \
--runtime python37 \
--trigger-http \
--region us-central1 \
--memory 256 \
--entry-point incoming_message \
--env-vars-file env.yaml
You can’t perform that action at this time.