---
title: "Discussion on \"Conditional Bicep Deployment in Azure DevOps Using Git\" | Hashnode"
description: "Discussion on \"Conditional Bicep Deployment in Azure DevOps Using Git\". Optimizing Your Pipeline by Deploying Bicep Files Only When They Change"
url: "https://hashnode.com/posts/conditional-bicep-deployment-in-azure-devops-using-git/651adc4759f63941c7909152"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Conditional Bicep Deployment in Azure DevOps Using Git](https://bogdanbujdea.dev/conditional-bicep-deployment-in-azure-devops-using-git?utm_source=hashnode&utm_medium=feed)

Optimizing Your Pipeline by Deploying Bicep Files Only When They Change

Oct 2, 2023 · 5 min read · bogdanbujdea.dev  
Read the article

-   [#azure-devops](https://hashnode.com/tag/azure-devops)
-   [#azure](https://hashnode.com/tag/azure)
-   [#bicep](https://hashnode.com/tag/bicep)
-   [#net](https://hashnode.com/tag/net)
-   [#azure-pipelines](https://hashnode.com/tag/azure-pipelines)

## Written by

[Bogdan Bujdea](https://hashnode.com/@bogdan)

@bogdan · Iasi, Romania

  
[View profile](https://hashnode.com/@bogdan)

.NET Developer

Expert generalist • Independent Contractor • Microsoft MVP • Home Assistant enthusiast Hi there! I'm Bogdan Bujdea, a software developer from Romania. I'm currently a .NET independent contractor, and in my free time I get involved in the local .NET community or I'm co-organizing the @dotnetdays conference. I consider myself an expert generalist, mostly because I enjoy trying out new stuff whenever I get the chance and I get bored pretty easily, so on this blog you'll see me posting content from programming tutorials to playing with my smart gadgets.

## Responses 1

Markdown supported · ⌘↵ to post

[Wilgert Velinga](https://hashnode.com/@wilgert)

[Feb 14, 2024](https://hashnode.com/posts/conditional-bicep-deployment-in-azure-devops-using-git/651adc4759f63941c7909152/comment/65cc94734bf55dd8b9285e0d)

Hi Bogdan, thanks for this great article. I was looking for a solution just like this. Do you have an idea how to handle the fact that no deploymentOutput is generated when you skip the deployment? In my setup the apps that get deployed rely on information from the deployment output. Those app deployments will fail if we skip the infra deployment.
