Skip to content

Instantly share code, notes, and snippets.

@quickstep25
Last active June 2, 2020 17:09
Show Gist options
  • Save quickstep25/82315e2df55c5f25f9cc96976606ea9f to your computer and use it in GitHub Desktop.
Save quickstep25/82315e2df55c5f25f9cc96976606ea9f to your computer and use it in GitHub Desktop.
Azure DevOps Build / Release / Deploy Stage Pipeline
stages:
- stage: Build
jobs:
- job: Build
pool:
vmImage: 'Ubuntu-16.04'
continueOnError: true
steps:
- script: echo my first build job
- stage: Deploy
jobs:
# track deployments on the environment
- deployment: DeployWeb
pool:
vmImage: 'Ubuntu-16.04'
# creates an environment if it doesn’t exist
environment: 'smarthotel-dev'
strategy:
# default deployment strategy
runOnce:
deploy:
steps:
- script: echo my first deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment