Skip to content

Commit

Permalink
Added loading module
Browse files Browse the repository at this point in the history
  • Loading branch information
merill committed May 26, 2024
1 parent 42a1073 commit 0f252ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update command reference
run: ./build/Update-CommandReference.ps1
shell: pwsh
Expand All @@ -26,9 +28,6 @@ jobs:
run:
working-directory: ./website/
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
Expand Down
2 changes: 2 additions & 0 deletions build/Update-CommandReference.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ if (-not (Get-Module PlatyPS -ListAvailable)) { Install-Module PlatyPS -Scope Cu
Import-Module Alt3.Docusaurus.Powershell
Import-Module PlatyPS

Import-Module ./src/MSIdentityTools.psd1 -Force

# Generate the command reference markdown
$commandsIndexFile = "./website/docs/commands/readme.md"
$readmeContent = Get-Content $commandsIndexFile # Backup the readme.md since it will be deleted by New-DocusaurusHelp
Expand Down

0 comments on commit 0f252ed

Please sign in to comment.