I want to automate the process of deploying Alexa skill through and want my pipeline to do the following for me:-
- ask deploy --target lambda if my lambda has been modified
- ask deploy --target model if my models have been modified.
I know I can put an IF condition either to check git log or check changeset in Jenkins and it Will solve my purpose, but since my skill is already in production I don't want to add any risk that by mistake skill gets modified and I will have to send it for re certification again.
I figured out the solution, Thanks to link. I was under a misconception that Amazon discards my production version of skill as soon as I deploy new changes to it.It is rather different.
Now this is what I am doing:-