-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathazure-pipelines.yml
61 lines (52 loc) · 1.28 KB
/
azure-pipelines.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: DotNetCoreCLI@2
displayName: Build Doug
inputs:
command: 'build'
projects: 'Doug/**.csproj'
- task: DotNetCoreCLI@2
displayName: Build functions
inputs:
command: 'build'
projects: 'Functions/**.csproj'
- task: DotNetCoreCLI@2
displayName: Publish Doug
inputs:
command: 'publish'
projects: 'Doug/**.csproj'
publishWebProjects: true
arguments: '-o $(build.artifactStagingDirectory)/doug'
zipAfterPublish: false
modifyOutputPath: false
- task: DotNetCoreCLI@2
displayName: Publish functions
inputs:
command: 'publish'
projects: 'Functions/**.csproj'
publishWebProjects: true
arguments: '-o $(build.artifactStagingDirectory)/functions'
zipAfterPublish: false
modifyOutputPath: false
- task: Npm@1
inputs:
command: 'install'
workingDir: 'doug-ui'
- task: Npm@1
inputs:
command: 'custom'
workingDir: 'doug-ui'
customCommand: 'run generate'
- task: CopyFiles@2
inputs:
SourceFolder: 'doug-ui/dist'
Contents: '**'
TargetFolder: '$(Build.ArtifactStagingDirectory)/dist'
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'