1
0
This repository has been archived on 2026-04-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
my-old-website/azure-pipelines.yml
T
Michael Gordeev 8eb4638c9c Set up CI with Azure Pipelines
[skip ci]
2020-11-04 16:14:02 +03:00

32 lines
829 B
YAML

# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreCLI@2
displayName: 'Building project'
inputs:
command: 'pack'
packagesToPack: '**/*.csproj'
configuration: '$(buildConfiguration)'
versioningScheme: 'byBuildNumber'
- task: IISWebAppDeploy@2
displayName: 'Deployment'
inputs:
machinesList: '31.31.196.233'
AdminUserName: '$(webDeployLogin)'
AdminPassword: '$(webDeployPassword)'
WinRMProtocol: 'Https'
WebDeployPackage: '$(Build.ArtifactStagingDirectory)/*.zip'
WebsiteName: 'xfox111.net'