fix: stage root Pages output safely
This commit is contained in:
@@ -43,7 +43,7 @@ try {
|
||||
|
||||
Push-Location $resolvedCheckout
|
||||
try {
|
||||
& git add --all -- site assets icons index.html README.txt VERSION.txt .nojekyll .github/workflows/deploy.yml
|
||||
& git add --all -- .
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Failed to stage Pages files.' }
|
||||
& git diff --cached --quiet
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
|
||||
Reference in New Issue
Block a user