From d332e307db2db51d78e4e0a1f47f76b125347805 Mon Sep 17 00:00:00 2001 From: Jake Ginnivan Date: Tue, 20 Aug 2024 08:55:30 +0800 Subject: [PATCH] More deploy fixes --- .github/workflows/ci.yml | 2 +- infra/app/ddd.bicep | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1f133c..0ea1cd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: - name: Log in with Azure (Federated Credentials) run: | azd auth login ` - --client-id "${{ secrets.AUTH_CLIENT_ID }}` + --client-id "${{ secrets.AUTH_CLIENT_ID }}"` --federated-credential-provider "github" ` --tenant-id "${{ secrets.AUTH_CLIENT_SECRET }}" shell: pwsh diff --git a/infra/app/ddd.bicep b/infra/app/ddd.bicep index 8e9331f..c0235d5 100644 --- a/infra/app/ddd.bicep +++ b/infra/app/ddd.bicep @@ -108,17 +108,3 @@ output defaultDomain string = containerAppsEnvironment.properties.defaultDomain output name string = app.name output uri string = 'https://${app.properties.configuration.ingress.fqdn}' output id string = app.id - -resource authConfig 'Microsoft.App/containerApps/authConfigs@2023-11-02-preview' = if (environment == 'dev') { - name: 'current' - parent: app - properties: { - globalValidation: { - unauthenticatedClientAction: 'RedirectToLoginPage' - } - platform: { - enabled: true - runtimeVersion: 'v2' - } - } -}