A sample Alexa skill project in the continuous delivery model
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.ask
.circleci
lambda/custom
models
.gitignore
LICENSE
Makefile
README.md
package.json
skill.json
yarn.lock

README.md

sample-alexa-skill

A sample Alexa skill project in the continuous delivery model

CircleCI branch Codecov branch

Requirement

  • Node.js v6.10
  • ASK-CLI v1.0.0-beta.3~
  • AWS-CLI v1.11.172~
  • CircleCI v2.0

Development

AWS-CLI

Install AWS-CLI via pip

$ pip3 install awscli

Set up AWS-CLI configuration

$ aws configure

ASK-CLI

Install ASK-CLI

$ npm i ask-cli -g

Initialize ASK-CLI with your Amazon development account

$ ask init

Set up your project on CircleCI

You need to add the following environment variables to your project on to your CircleCI

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • ASK_CLI_CONFIG
  • ALEXA_SKILL_ID if you have an existing skill
  • AWS_LAMBDA_ARN if you have an existing lambda endpoint connected to the skill
  • CODECOV_TOKEN if your repository is private

ASK_CLI_CONFIG

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