From 23743bc49c40d7d147a371d7da582e69b2684125 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 8 Feb 2020 07:25:52 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1bbdbd9..3daeffb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -37,6 +37,15 @@ steps: replaceExistingArchive: true verbose: true +steps: +- task: CopyFilesOverSSH@0 + displayName: 'Securely copy files to the remote machine' + inputs: + sshEndpoint: GoogleServer + sourceFolder: '$(Build.ArtifactStagingDirectory)/target-www.tar.gz' + targetFolder: /var/lib/app/pipeline/ + failOnEmptySource: true + - task: PublishPipelineArtifact@1 inputs: # targetPath: '$(Pipeline.Workspace)'