diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..e932055 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,22 @@ +# 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: +- main +pool: + vmImage: 'ubuntu-latest' + +variables: + buildConfiguration: 'Release' + +steps: +- script: dotnet build --configuration $(buildConfiguration) + displayName: 'dotnet build $(buildConfiguration)' + +- task: DotNetCoreCLI@2 + inputs: + command: 'publish' + publishWebProjects: false + projects: '**/*.csproj' \ No newline at end of file