Skip to content

Commit 0eab1c9

Browse files
feat: Fixing Astro Build ( Fixes PoshWeb#14, Fixes PoshWeb#12 )
Restarting history collection
1 parent 52ef98d commit 0eab1c9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ if ($env:GITHUB_WORKFLOW) {
4646

4747
npm install | Out-Host
4848

49-
$pagesRoot = Join-Path $PSScriptRoot "src/pages"
49+
$pagesRoot = Join-Path $astroDevRoot "src/pages"
5050
if (-not (Test-Path $pagesRoot)) {
5151
New-Item -ItemType Directory -Path $pagesRoot
5252
}
@@ -186,8 +186,8 @@ $history = @(try {
186186
$history += $buildTimes |
187187
Select-Object Technique, Time, RelativeSpeed, DateTime
188188

189-
# ConvertTo-Json -InputObject $history > ./history.json -Depth 2
190-
189+
ConvertTo-Json -InputObject $history > ./history.json -Depth 2
191190

191+
Remove-Item -Recurse -Force ./astrodev
192192

193193
Pop-Location

0 commit comments

Comments
 (0)