Use the following technique on both pipelines "Deploy" and "Nightly" https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#workspace ``` workspace: clean: all ```