Skip to content
This repository has been archived by the owner on May 15, 2019. It is now read-only.

Deploying functions

Jason Dobry edited this page Dec 23, 2016 · 4 revisions

Table of Contents

Deploying HTTP functions

They Emulator CLI's deploy commands mirrors that of the Cloud SDK. To deploy an HTTP function to the production Google Cloud Functions service you might do this:

cd /path/to/your/module
gcloud alpha functions deploy helloWorld --trigger-http --stage-bucket=my-stage-bucket

With the Emulator it's even easier:

cd /path/to/your/module
functions deploy helloWorld --trigger-http

While the Emulator can stage your code to a Google Cloud Storage bucket during local deployment, it's unnecessary.

To get the full list of deployment options run:

functions deploy --help

Deploying Background functions

TODO

Common deployment options

TODO