A sample Alexa skill project in the continuous delivery model
- Node.js v6.10
- ASK-CLI v1.0.0-beta.3~
- AWS-CLI v1.11.172~
- CircleCI v2.0
Install AWS-CLI via pip
$ pip3 install awscliSet up AWS-CLI configuration
$ aws configureInstall ASK-CLI
$ npm i ask-cli -gInitialize ASK-CLI with your Amazon development account
$ ask initYou need to add the following environment variables to your project on to your CircleCI
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYASK_CLI_CONFIGALEXA_SKILL_IDif you have an existing skillAWS_LAMBDA_ARNif you have an existing lambda endpoint connected to the skillCODECOV_TOKENif your repository is private
Copy your ASK-CLI credential to the clipboard
$ base64 ~/.ask/cli_config | pbcopy
Set the value to ASK_CLI_CONFIG in your CircleCI's project