-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ee54ce
commit ef153b6
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
} | ||
|