Skip to content

Publish Documentation #6

Publish Documentation

Publish Documentation #6

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@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.x
- name: Install Dependencies
run: |
pip install mkdocs-material
pip install --requirement .github/workflows/requirements.txt
- name: Publish Documentation
run: |
mkdocs gh-deploy --force
if: ${{ success() }}