I want to configure Azure DevOps to deploy code (website) from git repository to my on premise server.
Asked
Active
Viewed 341 times
1 Answers
0
For ASP.NET Website you should first pushed the entire code from local to Azure DevOps.
Then create a Build Definition in Azure DevOps to build your project.
Some steps for your reference:
- Install IIS Web App Deployment Using WinRM extension since you want to deploy app to your web server
2 . Add Windows Machine File Copy step to copy files to your web server
- Add WinRM-IIS Web App Management step to create or update web site in IIS
- Add WinRM-IIS Web App Deployment step to deploy app to web site (step 4)
You could also take a look at this thread: Automated Deployement of ASP.Net MVC Website In IIS server with a Continuous Deployment

PatrickLu-MSFT
- 49,478
- 5
- 35
- 62