Create distribution page #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & serve site | |
on: | |
push: | |
branches: | |
- master | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Prep Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install pip deps | |
run: | | |
python -m pip install --user mkdocs-material mkdocstrings[python] pymdown-extensions | |
- name: Build and deploy site | |
run: mkdocs gh-deploy --force |