Some days ago I wrote a blog post about Azure release Pipelines (CD) and how we can’t use YAML in that. The only option is to do it visually with designer. If I compare this with GitHub workflows, there we can write CI and CD both in YAML syntax.
After that I found a blog post from Microsoft dev blog saying we can use YAML for CD in Azure Pipelines as well. Designing a release pipeline visually with designer, is a legacy way of doing CD now.