Skip to content

Create docs.yml

Create docs.yml #1

Workflow file for this run

name: docs
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v3
with:
key: ${{ github.ref }}
path: .cache
- run: pip install -U git+https://github.com/mkdocs/mkdocs.git#egg=mkdocs
- run: pip install mkdocs-material mkdocstrings mkdocstrings-python
- run: mkdocs gh-deploy --force