1

I have created Azure Bot service for nodeJS LUIS bot. Downloaded the zip file to for local development.

Now I want to publish the changes back to Azure Bot from Visual studio 2017.

Which different environment variables I need to set to publish from desktop without using Visual studio services.

2 Answers 2

2

You can setup continuous deployment by following the guidelines in this article.

  1. Download your source code via .zip file from the Azure Bot Service interface.
  2. Upload your code to one of the following source control providers:
    • Visual Studio Team Services
    • OneDrive
    • Local Azure Git Repository
    • GitHub (recommended)
    • Bitbucket
    • Dropbox
    • External Repository

VCS Options

  1. In Azure Bot Service, select "Settings", then go to the section "Continuous deployment" and click the "Configure" button under the section "Step 3: Configure continuous deployment"

Configure continuous deployment

  1. In the "Deployments" blade, click the "Setup" link by the gears icon.
  2. In the "Deployment option" blade to the right, click "Choose Source"
  3. Select the source control service your selected in step 2 above, for example GitHub
  4. Configure your repository-specific settings in the "Deployment option" blade, including project and branch, then click "OK"
  5. You should see a popup notification that says "Setting up deployment source"
  6. In the "Deployments" blade of your Bot Service, you should see a log of your current deployment.
  7. Done!

Now when you push changes to your code repository, it will trigger an automatic redeployment of your bot's code, which you can monitor using the "Deployments" blade.

For more information, check out the complete article on Azure Continuous Deployment here: https://learn.microsoft.com/en-us/azure/app-service/app-service-continuous-deployment

Sign up to request clarification or add additional context in comments.

Comments

0

You can also open the Advanced settings in Azure: advanced settings

And download the publish profile: get publish profile

Then, create a new Visual Studio Node.js project using the "From Existing Node.js code" TypeScript template (selecting the folder that contains the files downloaded):

Visual Studio Node Project Wizard 1: Visual Studio Node Project Wizard 1

Visual Studio Node Project Wizard 2: Visual Studio Node Project Wizard 2

Finally, import the publish profile downloaded earlier: enter image description here

You should now be able to publish directly from Visual Studio.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.