Skip to content

Commit

Permalink
Set up path the correct way around
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Mar 14, 2024
1 parent 6ee54ce commit ef153b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PwshSpectreConsole.Docs/src/powershell/UpdateDocs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ $env:GIT_COMMITTER_NAME = 'Shaun Lawrie (via GitHub Actions)'
$env:GIT_COMMITTER_EMAIL = '[email protected]'

# Stage files in a temp directory to avoid issues with astro running in dev mode locking files
if($IsLinux) {
$env:TEMP = "/tmp"
}
$outputPath = "$PSScriptRoot\..\content\docs\reference\"
$asciiCastOutputPath = "$PSScriptRoot\..\assets\examples\"
$stagingPath = "$env:TEMP\refs-staging"
if($IsLinux) {
$env:TEMP = "/tmp/refs-staging"
}
if(Test-Path $stagingPath) {
Remove-Item $stagingPath -Force -Recurse
}
Expand Down

0 comments on commit ef153b6

Please sign in to comment.