Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Jnewbon 2020-04-21 16:58:30 +01:00
parent e2802eee52
commit 4e2c839e05

View File

@ -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'