mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 15:55:49 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
1b00148081
commit
32de58ba0c
1 changed files with 2 additions and 2 deletions
|
@ -49,11 +49,11 @@ jobs:
|
||||||
|
|
||||||
- task: AzureWebApp@1
|
- task: AzureWebApp@1
|
||||||
displayName: Deploy spring-petclinic to Azure Web Apps service
|
displayName: Deploy spring-petclinic to Azure Web Apps service
|
||||||
# Only deploy from main branch (for release purposes)
|
|
||||||
# condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
|
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: 'azure-svc-connection'
|
azureSubscription: 'azure-svc-connection'
|
||||||
appType: webAppLinux
|
appType: webAppLinux
|
||||||
appName: 'james-pet-clinic'
|
appName: 'james-pet-clinic'
|
||||||
package: '$(System.DefaultWorkingDirectory)/**/*.jar'
|
package: '$(System.DefaultWorkingDirectory)/**/*.jar'
|
||||||
|
# Only deploy web app from main branch (for release purposes)
|
||||||
|
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
|
||||||
|
|
Loading…
Reference in a new issue