Learn how to deploy your Alexa Skills and Google Actions with the
jovo deploy CLI command.
- Deploy Platform Projects
- Deploy Source Code
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)
Learn more about how to deploy the information that
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:
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.
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.
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:
-p: Specify the platform that should be deployed. Arguments:
alexaSkill Default: Every platform found in the
--project-id: Determine, which project to deploy to.
-l: Specify the locale that should be deployed. Default: Every locale found for each platform.
-t: Specify, what type of information to deploy. Arguments:
info (for Skill or Agent information),
model (for language models),
bundle.zip file for deployment),
lambda (for AWS Lambda deployment),
all. Default: all.
--stage: Specify the stage where the configuration will be taken from.
-s: Path to source files. Default: project directory.
--endpoint: Type of endpoint. Arguments:
--ask-profile: Specifies which profile set up in ASK CLI should be used to deploy. Default: