From 4e2c839e0594d73f4fb1f64bb8937cab98fc9066 Mon Sep 17 00:00:00 2001 From: Jnewbon <48688400+Jnewbon@users.noreply.github.com> Date: Tue, 21 Apr 2020 16:58:30 +0100 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0ef9bd7179..b55026fb90 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -259,14 +259,26 @@ jobs: - script: | doxygen Doxyfile - displayName: 'Generate' + cd doxygen + tar -czvf ../docs.tar.gz ./* + displayName: 'Generate Docs' - task: CopyFilesOverSSH@0 inputs: sshEndpoint: 'Azure on Sandor' - sourceFolder: 'doxygen' - contents: '**' + sourceFolder: '.' + contents: 'docs.tar.gz' targetFolder: 'synergy-core/docs' - cleanTargetFolder: true readyTimeout: '20000' displayName: 'Publish files to sandor' + + - task: SSH@0 + inputs: + sshEndpoint: 'Azure on Sandor' + runOptions: 'commands' + commands: | + cd synergy-core/docs + tar -xzvf docs.tar.gz --overwrite + rm docs.tar.gz + readyTimeout: '20000' + displayName: 'Extract files on sandor'