Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
e2802eee52
commit
4e2c839e05
1 changed files with 16 additions and 4 deletions
|
|
@ -259,14 +259,26 @@ jobs:
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
doxygen Doxyfile
|
doxygen Doxyfile
|
||||||
displayName: 'Generate'
|
cd doxygen
|
||||||
|
tar -czvf ../docs.tar.gz ./*
|
||||||
|
displayName: 'Generate Docs'
|
||||||
|
|
||||||
- task: CopyFilesOverSSH@0
|
- task: CopyFilesOverSSH@0
|
||||||
inputs:
|
inputs:
|
||||||
sshEndpoint: 'Azure on Sandor'
|
sshEndpoint: 'Azure on Sandor'
|
||||||
sourceFolder: 'doxygen'
|
sourceFolder: '.'
|
||||||
contents: '**'
|
contents: 'docs.tar.gz'
|
||||||
targetFolder: 'synergy-core/docs'
|
targetFolder: 'synergy-core/docs'
|
||||||
cleanTargetFolder: true
|
|
||||||
readyTimeout: '20000'
|
readyTimeout: '20000'
|
||||||
displayName: 'Publish files to sandor'
|
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'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue