Skip to content

Instantly share code, notes, and snippets.

@a30001539
Created March 11, 2020 01:50
Show Gist options
  • Save a30001539/9774e61e892b4c1195e3d9e84707b8ea to your computer and use it in GitHub Desktop.
Save a30001539/9774e61e892b4c1195e3d9e84707b8ea to your computer and use it in GitHub Desktop.
azure devops yaml condition
strategy:
runOnce:
deploy:
steps:
- checkout: self
- task: AzurePowerShell@4
condition: eq(variables['SKIP_RESTORE'], 'False'))
displayName: Run only if the SKIP is set False
inputs:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment