Skip to content

Commit

Permalink
[skip ci] Add npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Oct 23, 2023
1 parent ed9a962 commit b8f6626
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
& .\PwshSpectreConsole.Docs\UpdateDocs.ps1 -NonInteractive
git config --global user.name 'Shaun Lawrie (via GitHub Actions)'
git config --global user.email '[email protected]'
git add .\PwshSpectreConsole.Docs\src\content
git add PwshSpectreConsole.Docs/src/content
git commit -m "[skip ci] Update docs"
git push
- name: Deploy
Expand Down
1 change: 1 addition & 0 deletions PwshSpectreConsole.Docs/UpdateDocs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ foreach($doc in $docs) {
}

# Build the docs site
npm ci --prefix $PSScriptRoot
npm run build --prefix $PSScriptRoot

if($NonInteractive) {
Expand Down

0 comments on commit b8f6626

Please sign in to comment.