build(docs): added building the docs into the build script

This commit is contained in:
2025-07-16 20:23:25 -05:00
parent 0fb2ec5273
commit 6072afc8c0
2 changed files with 8 additions and 0 deletions

View File

@@ -124,6 +124,12 @@ function Update-BuildNumber {
Pop-Location
Write-Host "Building Docs"
Push-Location $rootDir/lst-docs
npm run build
Pop-Location
try {
Update-BuildNumber

View File

@@ -83,6 +83,8 @@ $filesToCopy = @(
# scripts to be copied over
@{ Source = "scripts\tmp"; Destination = "scripts\tmp" }
@{ Source = "scripts\iisControls.ps1"; Destination = "scripts\iisControls.ps1" }
# docs
# @{ Source = "lst-docs\build"; Destination = "lst-docs\build" }
)
foreach ($file in $filesToCopy) {