mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 07:45: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
|
||||
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:
|
||||
azureSubscription: 'azure-svc-connection'
|
||||
appType: webAppLinux
|
||||
appName: 'james-pet-clinic'
|
||||
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