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'
|
name: 'This is changed in a task, below'
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
solution: '**/*.sln'
|
|
||||||
buildPlatform: 'Any CPU'
|
|
||||||
buildConfiguration: 'Release'
|
|
||||||
projectName: 'Gameboard.ShogiUI.Sockets'
|
projectName: 'Gameboard.ShogiUI.Sockets'
|
||||||
version.MajorMinor: '1.0' # Manually change this when needed to follow semver.
|
version.MajorMinor: '1.0' # Manually change this when needed to follow semver.
|
||||||
version.Patch: $[counter(variables['version.MajorMinor'], 0)]
|
version.Patch: $[counter(variables['version.MajorMinor'], 0)]
|
||||||
versionNumber: '$(version.MajorMinor).$(version.Patch)'
|
versionNumber: '$(version.MajorMinor).$(version.Patch)'
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
@@ -64,7 +60,7 @@ steps:
|
|||||||
displayName: SSH Copy to 1UB
|
displayName: SSH Copy to 1UB
|
||||||
inputs:
|
inputs:
|
||||||
sshEndpoint: 'LucaServer'
|
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)'
|
targetFolder: '/var/www/apps/$(projectName)'
|
||||||
contents: '**'
|
contents: '**'
|
||||||
failOnEmptySource: true
|
failOnEmptySource: true
|
||||||
|
|||||||
Reference in New Issue
Block a user