Skip to content

Publish Documentation #2

Publish Documentation

Publish Documentation #2

Workflow file for this run

name: Publish Documentation
on:
workflow_dispatch:
permissions:
contents: write
jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: 3.x
- name: Install Dependencies
run: |
pip install mkdocs-material
pip install --requirement docs/requirements.txt
- name: Publish Documentation
run: |
mkdocs gh-deploy --force
if: ${{ success() }}