jovo deploy

Learn how to deploy your Alexa Skills and Google Actions with the jovo deploy CLI command.

Introduction

jovo deploy command

jovo deploy is used for two things:

  • Upload the platform folders to their respective developer consoles (Amazon Alexa Developer Console, Dialogflow Console)
  • Upload the source code to a cloud provider (AWS Lambda)

Deploy Platform Projects

Learn more about how to deploy the information that

Amazon Alexa Deployment

To deploy to the Amazon developer console, you have to set up ASK CLI first.

For more information on how to set up the ASK CLI, see the official ASK CLI reference from Amazon.

You can then deploy your Alexa Skill project with the Jovo CLI:

Google Assistant Deployment

Tutorial: Deploy a Dialogflow Agent with the Jovo CLI

To deploy a Dialogflow agent you have 2 options:

  • Import the dialogflow_agent.zip file into your Dialogflow agent (we recommend using the option RESTORE)
  • If you're using the Dialogflow v2 API (default since April 17, 2018), you can also deploy the agent directly to the platform. For this, read more in our Dialogflow deployment tutorial.

Deploy Source Code

Learn more about hosting here.

For testing and running your app in production, you need to deploy the code to various hosting providers Jovo offers integrations for.

You can create a ready-to-deploy bundle.zip file with either of the following commands:

This will copy the src files into a bundle folder, run a production-only npm install, and then zip it.

AWS Lambda

Tutorial: Deploy your Voice App to AWS Lambda with the Jovo CLI.

If you have a Lambda endpoint defined in your project.js file, the jovo deploy command will not only deploy platform projects, but also bundle and upload your source code to AWS Lambda:

Options

--platform, -p: Specify the platform that should be deployed. Arguments: googleAction or alexaSkill Default: Every platform found in the /platforms folder.

--project-id: Determine, which project to deploy to.

--locale, -l: Specify the locale that should be deployed. Default: Every locale found for each platform.

--target, -t: Specify, what type of information to deploy. Arguments: info (for Skill or Agent information), model (for language models), zip (creates bundle.zip file for deployment), lambda (for AWS Lambda deployment), all. Default: all.

--stage: Specify the stage where the configuration will be taken from.

--src, -s: Path to source files. Default: project directory.

--endpoint: Type of endpoint. Arguments: jovo-webhook, bst-proxy, ngrok or none. Default: jovo-webhook.

--ask-profile: Specifies which profile set up in ASK CLI should be used to deploy. Default: default.

Comments and Questions

Any specific questions? Just drop them below. Alternatively, you can also fill out this feedback form. Thank you!

Join Our Newsletter

Be the first to get our free tutorials, courses, and other resources for voice app developers.