Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
2022-06-26 18:29:45 +00:00
parent f75857f81b
commit 003aeaf88c

View File

@@ -15,15 +15,11 @@ pool:
name: 'This is changed in a task, below'
variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
projectName: 'Gameboard.ShogiUI.Sockets'
version.MajorMinor: '1.0' # Manually change this when needed to follow semver.
version.Patch: $[counter(variables['version.MajorMinor'], 0)]
versionNumber: '$(version.MajorMinor).$(version.Patch)'
steps:
- task: PowerShell@2
@@ -64,7 +60,7 @@ steps:
displayName: SSH Copy to 1UB
inputs:
sshEndpoint: 'LucaServer'
sourceFolder: '$(System.DefaultWorkingDirectory)\$(projectName)\bin\Debug\net6.0\publish'
sourceFolder: '$(System.DefaultWorkingDirectory)\$(projectName)\bin\Release\net6.0\publish'
targetFolder: '/var/www/apps/$(projectName)'
contents: '**'
failOnEmptySource: true