Skip to content

Instantly share code, notes, and snippets.

@ArthurSteijn
Last active July 24, 2021 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArthurSteijn/3305df2f9c4039531a4d684551d9b06a to your computer and use it in GitHub Desktop.
Save ArthurSteijn/3305df2f9c4039531a4d684551d9b06a to your computer and use it in GitHub Desktop.
yaml deployment job environment included
- stage: deploy
jobs:
- deployment: DeploySyn
displayName: deploy Synapse Workspace
pool:
vmImage: 'Windows-latest'
# creates an environment if it doesn't exist
environment: 'production'
strategy:
runOnce:
deploy:
steps:
- script: echo Hello world
#Release Synapse
- template: steps/synapse-release.yml
parameters:
artifact: ${{parameters.artifact}}
azureSubscription: ${{parameters.azureSubscription}} #Azure DevOps Service Connection name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment