2020-04-15 16:09:13 +03:00
|
|
|
trigger:
|
|
|
|
- master
|
|
|
|
|
|
|
|
pr:
|
|
|
|
- master
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-latest'
|
|
|
|
|
|
|
|
variables:
|
|
|
|
BuildConfiguration: Release
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- task: DotNetCoreCLI@2
|
|
|
|
inputs:
|
2020-04-15 16:12:10 +03:00
|
|
|
command: run
|
2020-05-06 16:39:46 +03:00
|
|
|
projects: "*.csproj"
|
2020-04-15 16:09:13 +03:00
|
|
|
arguments: -c $(BuildConfiguration)
|
2020-04-15 16:12:10 +03:00
|
|
|
displayName: Build and Run Statiq
|
2020-04-15 16:09:13 +03:00
|
|
|
|
2020-05-02 22:32:36 +03:00
|
|
|
- publish: output
|
2020-04-15 16:09:13 +03:00
|
|
|
artifact: website
|
2020-04-15 16:15:58 +03:00
|
|
|
displayName: Publish Artifacts
|