Update azure-pipelines.yml for Azure Pipelines

added ssh
This commit is contained in:
Thomas 2020-02-08 19:55:03 +00:00
parent 64ade5a5c4
commit a7a4fe441e

View File

@ -44,3 +44,11 @@ steps:
targetPath: '$(Build.ArtifactStagingDirectory)/target-www.tar.gz' targetPath: '$(Build.ArtifactStagingDirectory)/target-www.tar.gz'
artifact: 'FrontEnd' artifact: 'FrontEnd'
publishLocation: 'pipeline' publishLocation: 'pipeline'
- task: CopyFilesOverSSH@0
displayName: 'Securely copy files to the remote machine'
inputs:
sshEndpoint: GoogleServer
sourceFolder: '$(Build.ArtifactStagingDirectory)/target-www.tar.gz'
targetFolder: /
failOnEmptySource: true