是否可以使用 Alexa Skill Kit 的 ASK CLI deploy 命令来构建,例如,部署 development 环境和 debug 版本的应用程序部署到 test 环境的应用程序的 code>release 版本?
Is it possible to use Alexa Skill Kit's ASK CLI deploy command to build, for example, a debug version of the app that deploys a development environment and a release version of the app that deploys to a test environment?
我和我的团队正在尝试将相同的技能部署到两个不同的环境中,因此我们的测试团队可以在测试环境中完成他们的工作,而开发团队可以在开发环境中完成他们的工作.
My team and I are trying to deploy the same skill to two different environments, so our testing team can do their thing in the test environments and development can do their thing in the development environment.
这将是一项私人技能,因此使用 developer.amazon 分离测试和通过发布应用程序来生产"不是一种选择.
This will be a private skill so using developer.amazon separation of test and "prod" via publishing the application is not an option.
推荐答案可能有很多方法可以实现这一点.以下是一些立即浮现在脑海中的内容:
There are probably a lot of ways to accomplish this. Here are some that immediately come to mind:
就我个人而言,我更喜欢 npm 方法,但也成功地使用 bash 来做到这一点.您没有提及您为 Lambda 使用哪种语言.我正在使用 Javascript,因此 npm 非常适合我.
Personally, I like the npm approach a bit better, but have used bash successfully to do this also. You don't mention which language you are using for you Lambda. I'm working with Javascript, so npm is a good fit for me.
另请注意,除了 ASK CLI 之外,您还可以使用 AWS CLI 来处理您的 lambda.
Note also that you can use the AWS CLI for handling your lambda in addition to the ASK CLI.
更多推荐
ASK CLI 部署到不同的环境?
发布评论