Skip to content

Commit 90e0304

Browse files
đź”§ [CI]: Add installation step for PSModuleHelpers and enhance documentation file logging
1 parent 39a8c65 commit 90e0304

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎.github/workflows/Build-Site.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
with:
4747
fetch-depth: 0
4848

49+
- name: Install-PSModuleHelpers
50+
uses: PSModule/Install-PSModuleHelpers@v1
51+
4952
- name: Download docs artifact
5053
uses: actions/download-artifact@v4
5154
with:
@@ -86,6 +89,13 @@ jobs:
8689
Get-ChildItem -Recurse | Select-Object -ExpandProperty FullName | Sort-Object | Format-List
8790
}
8891
92+
Get-ChildItem -Path $functionDocsFolder -Recurse -Force -Include '*.md' | ForEach-Object {
93+
$fileName = $_.Name
94+
LogGroup " - $fileName" {
95+
Show-FileContent -Path $_
96+
}
97+
}
98+
8999
LogGroup 'Build docs - Process about topics' {
90100
$aboutDocsFolderPath = Join-Path -Path $SiteOutputPath -ChildPath 'docs/About'
91101
$aboutDocsFolder = New-Item -Path $aboutDocsFolderPath -ItemType Directory -Force

0 commit comments

Comments
 (0)