Skip to content

Add PowerShell function test specification documentation #10

Add PowerShell function test specification documentation

Add PowerShell function test specification documentation #10

Workflow file for this run

name: Publish Docs
on:
workflow_dispatch:
push:
branches:
- main
paths:
- docs/**
- mkdocs.yml
- .github/workflows/Docs.yml
env:
GH_TOKEN: ${{ github.token }}
defaults:
run:
shell: pwsh
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read # to checkout the repo
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/configure-pages@v5
- name: Install mkdoks-material
run: |
pip install mkdocs-material
pip install mkdocs-git-authors-plugin
pip install mkdocs-git-revision-date-localized-plugin
pip install mkdocs-git-committers-plugin-2
- name: Build mkdocs-material project
run: |
mkdocs build --config-file ./mkdocs.yml --strict --site-dir _site/
- uses: actions/upload-pages-artifact@v3
deploy:
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4