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@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.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() }}