Skip to content

Commit edef16b

Browse files
committed
Update static web app configuration paths to use _site2 directory
1 parent cdfee9d commit edef16b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,8 @@ jobs:
688688
689689
# Paths to main and environment-specific config files
690690
$environment = ("${{ (needs.Setup.outputs.nkdAgility_Ring) }}").ToLower()
691-
$rootConfig = "./_site/staticwebapp.config.json"
692-
$environmentConfig = "./_site/staticwebapp.config.$environment.json"
693-
# $routesConfig = "./_site/staticwebapp.config.routes.json"
691+
$rootConfig = "./_site2/staticwebapp.config.json"
692+
$environmentConfig = "./_site2/staticwebapp.config.$environment.json"
694693
695694
# Check if both target files exist
696695
if ((Test-Path -Path $rootConfig -ErrorAction Stop) -and (Test-Path -Path $environmentConfig -ErrorAction Stop)) {
@@ -700,7 +699,7 @@ jobs:
700699
701700
if ($mergedContent -ne "") {
702701
# Write the merged content to the output file
703-
$mergedContent | Set-Content -Path "./staticwebapp.config.json"
702+
$mergedContent | Set-Content -Path "./_site2/staticwebapp.config.json"
704703
Write-Host "Merged JSON files successfully."
705704
}
706705
else {

0 commit comments

Comments
 (0)