mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
9ec961ad2d
commit
fffd5c4932
1 changed files with 25 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ variables:
|
|||
|
||||
stages:
|
||||
- stage: build
|
||||
displayName: Build and Publish
|
||||
displayName: Build and Publish $(ApplicationName)
|
||||
|
||||
jobs:
|
||||
- job: build
|
||||
|
|
@ -91,3 +91,27 @@ stages:
|
|||
inputs:
|
||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
||||
ArtifactName: '$(PublishFolder)'
|
||||
|
||||
- stage: deployBeta
|
||||
displayName: Deploy Beta $(ApplicationName)
|
||||
lockBehavior: runLatest
|
||||
condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/source'))
|
||||
dependsOn:
|
||||
- build
|
||||
|
||||
jobs:
|
||||
- deployment: deployBeta
|
||||
displayName: Deploy Beta
|
||||
environment: github-servermanager-beta
|
||||
|
||||
- stage: deployRelease
|
||||
displayName: Deploy Release $(ApplicationName)
|
||||
lockBehavior: runLatest
|
||||
condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/source'))
|
||||
dependsOn:
|
||||
- deployBeta
|
||||
|
||||
jobs:
|
||||
- deployment: deployRelease
|
||||
displayName: Deploy Release
|
||||
environment: github-servermanager-release
|
||||
Loading…
Add table
Add a link
Reference in a new issue