Skip to content

Commit

Permalink
Fix issue with env vars not merging in postprovision script
Browse files Browse the repository at this point in the history
  • Loading branch information
CMeeg committed Oct 7, 2023
1 parent d6d566b commit 833f775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azd/hooks/postprovision.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path

# Before we can build the app we need to merge the local env file (if one exists) with the azd env file as it contains values required for the build to succeed
$envLocal = Join-Path $scriptDir "../../.env.local"
$envAzd = Join-Path $scriptDir "../${env:AZURE_ENV_NAME}/.env"
$envAzd = Join-Path $scriptDir "../../.azure/${env:AZURE_ENV_NAME}/.env"

# The result will be output to this location and the Dockerfile will copy and rename it to .env.local during the build step
$envAzure = Join-Path $scriptDir "../../.env.azure"
Expand Down

0 comments on commit 833f775

Please sign in to comment.