From b795fb8c7fc6761788848743a46e19fb1df61143 Mon Sep 17 00:00:00 2001 From: Robert Beekman Date: Sun, 1 Nov 2020 00:34:19 +0100 Subject: [PATCH] Update azure-pipelines-docfx.yml for Azure Pipelines --- ci/azure-pipelines-docfx.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ci/azure-pipelines-docfx.yml b/ci/azure-pipelines-docfx.yml index bb37023a6..ffdcd227d 100644 --- a/ci/azure-pipelines-docfx.yml +++ b/ci/azure-pipelines-docfx.yml @@ -9,7 +9,17 @@ trigger: pool: vmImage: 'windows-latest' +variables: + artemisSolution: '**/Artemis.sln' + steps: +- task: NuGetToolInstaller@1 + +- task: NuGetCommand@2 + displayName: 'NuGet restore Artemis' + inputs: + restoreSolution: '$(artemisSolution)' + - task: PowerShell@2 displayName: "DockFX build" inputs: @@ -20,9 +30,10 @@ steps: workingDirectory: 'docfx' - task: FtpUpload@2 + displayName: "DockFX FTP upload" inputs: credentialsOption: 'inputs' - serverUrl: 'artemis-rgb.com' + serverUrl: 'ftp://artemis-rgb.com' username: 'devops' password: '$(ftp_password)' rootDirectory: 'docfx/docfx_project/_site'