mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +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:
|
stages:
|
||||||
- stage: build
|
- stage: build
|
||||||
displayName: Build and Publish
|
displayName: Build and Publish $(ApplicationName)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: build
|
- job: build
|
||||||
|
|
@ -91,3 +91,27 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
||||||
ArtifactName: '$(PublishFolder)'
|
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