Specifying multiple Azure devops yaml environment tagging
When you create your environment and add some vm into your Azure DevOps, you might find yourself trying to deploy to vm with multiple tags.
Here is how you do it :-
Here we are specifying that the deployment goes to target server with tag web1 and web2
jobs:
- deployment: VMDeploy displayName: web environment: name: VMenv resourceType: VirtualMachine tags: 'web1, web2' strategy:
Comments