forked from dotnet-foundation/dotnetfoundation-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
35 lines (29 loc) · 718 Bytes
/
Copy pathazure-pipelines.yml
File metadata and controls
35 lines (29 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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