From a7a4fe441ec5cb26814cc00c7a7cc867ca0a0598 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 8 Feb 2020 19:55:03 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines added ssh --- azure-pipelines.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cf3190b..fe5c48b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -43,4 +43,12 @@ steps: # targetPath: '$(Pipeline.Workspace)' targetPath: '$(Build.ArtifactStagingDirectory)/target-www.tar.gz' artifact: 'FrontEnd' - publishLocation: 'pipeline' \ No newline at end of file + 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