Created simple nodejs app in VS Code (Linux). Also created NodeJS app in Azure. How to deploy app from VS Code to this Azure app now? AZ CLI installed. I've downloaded some MyApp.PublishSettings
file however seems it used in VS not VS Code. What is the best way to deploy then with or without git (github)?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Local Git deployment from command line (or VS Code terminal):
git remote add azure https://<username>@<app_name>.scm.azurewebsites.net/<app_name>.git
git push azure master
If empty application already there use force
flag:
git push azure master -f
Useful links deploying Bot Framework To Azure On Linux:
- https://code.visualstudio.com/tutorials/nodejs-deployment/deploy-website
- https://blog.botframework.com/2017/04/27/Deploying-Botframework-To-Azure-On-Linux/