This commit is contained in:
2023-02-04 18:04:38 -06:00

View File

@@ -23,7 +23,10 @@ steps:
- task: UseDotNet@2
inputs:
packageType: 'sdk'
useGlobalJson: true
#useGlobalJson: true
version: 7.x
includePreviewVersions: true
installationPath: $(Agent.ToolsDirectory)/dotnet #Install if not already present.
- task: CmdLine@2
inputs:
@@ -50,7 +53,7 @@ steps:
displayName: "Copy API files."
inputs:
sshEndpoint: 'LucaServer'
sourceFolder: '$(System.DefaultWorkingDirectory)/$(apiProjectName)/bin/Release/net6.0/publish'
sourceFolder: '$(System.DefaultWorkingDirectory)/$(apiProjectName)/bin/Release/net7.0/publish'
contents: '**'
targetFolder: '/var/www/apps/$(apiProjectName)'
readyTimeout: '20000'
@@ -59,7 +62,7 @@ steps:
displayName: "Copy UI files."
inputs:
sshEndpoint: 'LucaServer'
sourceFolder: '$(System.DefaultWorkingDirectory)/$(uiProjectName)/bin/Release/net6.0/publish'
sourceFolder: '$(System.DefaultWorkingDirectory)/$(uiProjectName)/bin/Release/net7.0/publish'
contents: '**'
targetFolder: '/var/www/apps/$(uiProjectName)'
readyTimeout: '20000'