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