Skip to content

Fix deploy verification $HOME variable collision - #1048

Merged
pkbullock merged 2 commits into
mainfrom
copilot/fix-failing-deploy-job
Nov 15, 2026
Merged

pkbullock merged 2 commits into
mainfrom
copilot/fix-failing-deploy-job

Conversation

@pkbullock

@pkbullock pkbullock commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

The deploy job published the gallery but failed during verification: PowerShell treated $home as its read-only $HOME automatic variable.

  • Verification: Rename the page response variable to $homePage and use it for the title check.
$homePage = Invoke-WebRequest "$baseUrl/"
if ($homePage.Content -notmatch '<title>Community Script Samples</title>') {
  throw 'The gallery home page was not deployed.'
}

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@pkbullock pkbullock changed the title [WIP] Fix failing GitHub Actions job deploy Fix deploy verification $HOME variable collision Nov 15, 2026
@pkbullock
pkbullock marked this pull request as ready for review November 15, 2026 09:01
@pkbullock
pkbullock merged commit 9857be3 into main Nov 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants