From 9263a92e945f10f03220f8a5a7d3f6d6fdfc4e0e Mon Sep 17 00:00:00 2001 From: Gary Tierney Date: Mon, 5 Aug 2019 01:00:01 +0100 Subject: [PATCH] Publish zip file of documentation --- azure-pipelines.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4125037c..c927e9e7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -73,4 +73,14 @@ jobs: displayName: 'DocFX: generate documentation' inputs: filename: docfx - arguments: docs/docfx.json \ No newline at end of file + arguments: docs/docfx.json + - task: ArchiveFiles@2 + inputs: + rootFolderOrFile: docs/_site + includeRootFolder: false + archiveFile: '$(Build.ArtifactStagingDirectory)/docs.zip' + replaceExistingArchive: true + - task: PublishBuildArtifacts@1 + inputs: + pathToPublish: '$(Build.ArtifactStagingDirectory)/docs.zip' + artifactName: 'docs.zip' \ No newline at end of file