Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/merge_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ jobs:
contents: write
pull-requests: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install Modules
shell: pwsh
run: |
Install-Module -Name platyPS -Force -Scope CurrentUser

- name: Generate XML Help
shell: pwsh
run: New-ExternalHelp -Path "./docs" -OutputPath "./src/PowerAzPlus" -Force
run: |
New-ExternalHelp -Path "./docs" -OutputPath "./src/PowerAzPlus" -Force

- name: Commit and Push Help Updates
shell: pwsh
Expand All @@ -29,7 +33,7 @@ jobs:
git config user.name "GitHub Actions"
git fetch origin ${{ github.head_ref }}
git checkout ${{ github.head_ref }}
git add PowerAzPlus-help.xml
git add ./src/PowerAzPlus/PowerAzPlus-help.xml
if (!(git diff --cached --quiet)) {
git commit -m "update help documentation"
git push origin ${{ github.head_ref }}
Expand Down
Loading