8eb4638c9c
[skip ci]
32 lines
829 B
YAML
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' |