diff --git a/deployment/cake/aspire-tasks.cake b/deployment/cake/aspire-tasks.cake index 9bbe21e..448ad1b 100644 --- a/deployment/cake/aspire-tasks.cake +++ b/deployment/cake/aspire-tasks.cake @@ -129,13 +129,13 @@ public class AspireProcessor : ProcessorBase { BuildContext.CakeContext.Information("Logging in to Azure"); - RunAzd($"auth login --tenant-id {aspireContext.AzureTenantId} --client-id {aspireContext.AzureClientId} --client-secret {aspireContext.AzureClientSecret}"); + RunAzd($"auth login --tenant-id {aspireContext.AzureTenantId} --client-id {aspireContext.AzureClientId} --client-secret {aspireContext.AzureClientSecret} --no-prompt"); // Note: got weird errors when running provision and deploy manually, so using up instead BuildContext.CakeContext.Information("Deploying to Azure"); - RunAzd($"up -e {environmentName}"); + RunAzd($"up -e {environmentName} --no-prompt"); //BuildContext.CakeContext.Information("Provisioning infrastructure for Aspire project '{0}'", aspireProject);