From 6fa6c5539b4f4b46264f7c9d0a89227dd9caddec Mon Sep 17 00:00:00 2001 From: Paul Yuknewicz Date: Tue, 16 Jun 2026 14:44:29 -0700 Subject: [PATCH] azure.yaml: hydrate local.settings.json in postdeploy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Chain hydrate-local-settings before configure-trigger so 'azd up' / 'azd provision' keeps both the deployed Function App app settings AND local.settings.json in sync from the same source of truth (azd env). Today, 'azd env set MAILBOX_OWNER_EMAIL ...' followed by 'azd provision' pushes the new value to the deployed app but leaves local.settings.json stale — the local chat client then reports 'Partial: placeholder' even though the deployed app is correctly LIVE. Stacks on #15. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- azure.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure.yaml b/azure.yaml index 09429a1..e427c5c 100644 --- a/azure.yaml +++ b/azure.yaml @@ -33,11 +33,11 @@ hooks: postdeploy: posix: shell: sh - run: ./infra/scripts/configure-trigger.sh + run: ./infra/scripts/hydrate-local-settings.sh && ./infra/scripts/configure-trigger.sh interactive: true continueOnError: false windows: shell: pwsh - run: ./infra/scripts/configure-trigger.ps1 + run: ./infra/scripts/hydrate-local-settings.ps1; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }; ./infra/scripts/configure-trigger.ps1 interactive: true continueOnError: false