1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-12 21:38:38 +00:00
Artemis/ci/azure-pipelines-docfx.yml
Robert 8f142333b1 CI - Only trigger API docs build on Artemis build finish
CI - Disabled super slow Resharper step
Update azure-pipelines-docfx.yml for Azure Pipelines
Update azure-pipelines-docfx.yml for Azure Pipelines
Update azure-pipelines-docfx.yml for Azure Pipelines
2020-11-06 19:36:30 +01:00

47 lines
1.0 KiB
YAML

# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
trigger:
- master
pr: none
pool:
vmImage: 'windows-latest'
variables:
artemisSolution: '**/Artemis.sln'
steps:
- checkout: self
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
displayName: 'NuGet restore Artemis'
inputs:
restoreSolution: '$(artemisSolution)'
- task: PowerShell@2
displayName: "DockFX build"
inputs:
targetType: 'inline'
script: |
choco install docfx -y
docfx.exe .\docfx_project\docfx.json
workingDirectory: 'docfx'
- task: FtpUpload@2
displayName: "DockFX FTP upload"
inputs:
credentialsOption: 'inputs'
serverUrl: 'ftp://artemis-rgb.com'
username: 'devops'
password: '$(ftp_password)'
rootDirectory: 'docfx/docfx_project/_site'
filePatterns: '**'
remoteDirectory: '/httpdocs/docs'
clean: true
preservePaths: true
trustSSL: false