Deploy NodeJS app to Azure from VS Code

2019-09-25 09:42发布

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条回答
对你真心纯属浪费
2楼-- · 2019-09-25 10:32

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:

查看更多
登录 后发表回答