question

tg avatar image
tg asked

Is there a way to deploy *just* the skill package using ASK CLI V2?

ask deploy 

will usually deploy the entire package. Is there a way just to update the skill package, in particular the skill.json using CLI?

alexa voice serviceask clicli
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Amazon_Bernardo Bezerra avatar image
Amazon_Bernardo Bezerra answered

Hello @tg and thank you for your message.

If you execute ask deploy -h here is what the output will tell you:

ask deploy -h
Usage: ask deploy [options]

deploy the skill project

Options:
  --ignore-hash            [OPTIONAL] Forces the ASK CLI deploy skill package even if the hash of current skill package folder does not change.
  -t, --target <target>    [OPTIONAL] Specify which skill project resource to deploy.
                           [ENUM]: skill-metadata,skill-infrastructure
  -p, --profile <profile>  [OPTIONAL] Provides the ASK CLI profile to use. When you dont include this option, ASK CLI uses the default profile.
  --debug                  [OPTIONAL] Enables the ASK CLI to show debug messages in the output of the command.
  -h, --help               output usage information

In other words, you can use ask deploy -t skill-metadata to deploy only the skill package.

Regards,
Barry

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.