Skip to content

Commit 89d8b30

Browse files
🩹 [Refactor]: Update Build-Docs workflow to use relative paths for improved portability and consistency
1 parent d82ce5b commit 89d8b30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎.github/workflows/Build-Docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ jobs:
137137
WorkingDirectory: ${{ inputs.Path }}
138138
Script: |
139139
LogGroup "Get folder structure" {
140-
$functionDocsFolder = New-Item -Path "/outputs/site/docs/Functions" -ItemType Directory -Force
141-
Copy-Item -Path "/outputs/docs/*" -Destination "/outputs/site/docs/Functions" -Recurse -Force
140+
$functionDocsFolder = New-Item -Path "outputs/site/docs/Functions" -ItemType Directory -Force
141+
Copy-Item -Path "outputs/docs/*" -Destination "outputs/site/docs/Functions" -Recurse -Force
142142
$moduleName = [string]::IsNullOrEmpty('${{ inputs.Name }}') ? $env:GITHUB_REPOSITORY_NAME : '${{ inputs.Name }}'
143143
$ModuleSourcePath = Resolve-Path 'src' | Select-Object -ExpandProperty Path
144144
$SiteOutputPath = Resolve-Path 'outputs/site' | Select-Object -ExpandProperty Path

0 commit comments

Comments
 (0)