Skip to content

Commit 83375a1

Browse files
committed
Updated pipeline
1 parent 8864f8e commit 83375a1

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

azure-pipeline - Crm.Hubspot.OAuthProxy.yml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,21 @@ pool:
66

77
variables:
88
projectName: 'Umbraco.Forms.Integrations.Crm.Hubspot.OAuthProxy'
9-
solution: '**/*.sln'
109
project: 'src/$(projectName)/$(projectName).csproj'
11-
buildPlatform: 'Any CPU'
1210
buildConfiguration: 'Release'
1311

1412
steps:
15-
- task: NuGetToolInstaller@1
16-
displayName: 'Install NuGet'
17-
18-
- task: NuGetCommand@2
19-
displayName: 'NuGet Restore'
20-
inputs:
21-
restoreSolution: '$(solution)'
22-
23-
- task: VSBuild@1
24-
displayName: 'Build Project'
13+
- script: dotnet build $(project) --configuration $(buildConfiguration)
14+
displayName: 'Buid Web App'
15+
- task: DotNetCoreCLI@2
16+
displayName: 'Publish Web App'
2517
inputs:
26-
solution: '$(project)'
27-
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"'
28-
platform: '$(buildPlatform)'
29-
configuration: '$(buildConfiguration)'
18+
command: 'publish'
19+
publishWebProjects: true
20+
#- task: AzureWebApp@1
21+
# displayName: 'Deploy Web App'
22+
# inputs:
23+
# azureSubscription: '<Azure service connection>'
24+
# appType: 'webAppLinux'
25+
# appName: '<Name of web app>'
26+
# package: '$(System.DefaultWorkingDirectory)/**/*.zip'

0 commit comments

Comments
 (0)