Publish the chatbot on Microsoft azure and setup Continuous deployment

Let's continue from the previous chatbot post and publish it to Microsoft azure.

1. Infra setup

Go to https://portal.azure.com/
Go to 'Create a resource and create a Web App Bot.


For bot template, I am choosing below settings to start with.


After you deployment success message in notifications, open the web app bot and click 'Test in Web Chat' to test.

2. Continuous deployment

Next, go to continuous deployment.
Setup the repository where your code resides. In my case, I specified github.com


Now your continuous deployment with GitHub setup is complete. Whenever you commit to the source code repository, your changes will automatically be deployed to the Azure Bot Service.

Very soon, the deployment will automatically trigger.

To test the new deployment, go back to azure's Test in webchat feature. Just in case, you find any issues, enable application logs.


Anything unclear, leave a comment or check out related documentation for Microsoft Bot Framework.



No comments:

Post a Comment