Skip to content

Commit 03fc18c

Browse files
authored
Merge pull request #2078 from gregolsky/new-docs
fix build dir location in deploy.ps1
2 parents 2a6c633 + 7fb349e commit 03fc18c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/deploy.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Write-Host "Running 'npx docusaurus build'..." -ForegroundColor Gray
113113
npx docusaurus build
114114
if ($LASTEXITCODE) { throw 'Docusaurus build failed' }
115115

116-
$BuildDir = Join-Path $PSScriptRoot 'build'
116+
$BuildDir = [IO.Path]::Combine($PSScriptRoot, '..', 'build')
117117
if (-not (Test-Path $BuildDir)) { throw "Build folder not produced ($BuildDir)" }
118118

119119
if ($DryRun) {

0 commit comments

Comments
 (0)