Skip to content

Add PSScriptAnalyzer & Docs workflow #4

Add PSScriptAnalyzer & Docs workflow

Add PSScriptAnalyzer & Docs workflow #4

Workflow file for this run

name: Build documentation
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: |
& ([scriptblock]::Create((iwr 'bit.ly/modulefast'))) -Specification platyPS!
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