Skip to content

Commit

Permalink
Merge pull request dotnet-foundation#109 from dotnet-foundation/azure…
Browse files Browse the repository at this point in the history
…-pipelines

Set up CI with Azure Pipelines
  • Loading branch information
Oren Novotny authored Nov 7, 2019
2 parents 5dc19ed + 6930aa2 commit cafaabd
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
trigger:
branches:
include:
- master

pr:
branches:
include:
- master

pool:
vmImage: 'windows-latest'

variables:
BuildConfiguration: 'Release'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true

steps:
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 3.0.x'
inputs:
version: 3.0.x

- task: DotNetCoreCLI@2
displayName: Build and Publish
inputs:
command: publish
publishWebProjects: false
projects: src/dotnetfoundation-website.csproj
arguments: '-c $(BuildConfiguration) --output $(build.artifactstagingdirectory)\website\ '
zipAfterPublish: True

- publish: $(Build.ArtifactStagingDirectory)\website
displayName: Publish website artifact
artifact: website

0 comments on commit cafaabd

Please sign in to comment.