Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
2023-02-04 18:58:10 +00:00
parent cf7a38e6c3
commit f389155bec

View File

@@ -53,7 +53,7 @@ steps:
displayName: "Copy API files." displayName: "Copy API files."
inputs: inputs:
sshEndpoint: 'LucaServer' sshEndpoint: 'LucaServer'
sourceFolder: '$(System.DefaultWorkingDirectory)/$(apiProjectName)/bin/Release/net6.0/publish' sourceFolder: '$(System.DefaultWorkingDirectory)/$(apiProjectName)/bin/Release/net7.0/publish'
contents: '**' contents: '**'
targetFolder: '/var/www/apps/$(apiProjectName)' targetFolder: '/var/www/apps/$(apiProjectName)'
readyTimeout: '20000' readyTimeout: '20000'
@@ -62,7 +62,7 @@ steps:
displayName: "Copy UI files." displayName: "Copy UI files."
inputs: inputs:
sshEndpoint: 'LucaServer' sshEndpoint: 'LucaServer'
sourceFolder: '$(System.DefaultWorkingDirectory)/$(uiProjectName)/bin/Release/net6.0/publish' sourceFolder: '$(System.DefaultWorkingDirectory)/$(uiProjectName)/bin/Release/net7.0/publish'
contents: '**' contents: '**'
targetFolder: '/var/www/apps/$(uiProjectName)' targetFolder: '/var/www/apps/$(uiProjectName)'
readyTimeout: '20000' readyTimeout: '20000'