Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user