Skip to content

Commit

Permalink
add update docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hjorslev committed Apr 27, 2024
1 parent 0832dbe commit 7db7258
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/UpdateDocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 📄 Docs

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
update_docs:
runs-on: windows-latest
steps:
- name: 🚚 Check out repository
uses: actions/checkout@v2

- name: 📄 Update documentation
run: |
Update-MarkdownHelpModule .\docs\ -AlphabeticParamsOrder -RefreshModulePage -UpdateInputOutput -ModulePagePath .\docs\index.md
- name: 📦 Commit and push changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git add .
git commit -m "Update documentation"
git push

0 comments on commit 7db7258

Please sign in to comment.