Hi @Serban ,
You can use ARM Templates to automate the creation of resources like bots and app service to publish your code. You can refer below link for more details
https://azure.microsoft.com/en-in/services/arm-templates/
Also you can refer deployment guide of below app to get an idea of how apps are deployed in production environment using ARM Templates.
Thanks