Update azure-pipelines.yml for Azure Pipelines
added ssh
This commit is contained in:
parent
64ade5a5c4
commit
a7a4fe441e
@ -43,4 +43,12 @@ steps:
|
|||||||
# targetPath: '$(Pipeline.Workspace)'
|
# targetPath: '$(Pipeline.Workspace)'
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user