[pre-commit.ci] pre-commit autoupdate (#323) #146
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: publish-docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3.5.3 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v4.6.1 | |
with: | |
python-version: "3.x" | |
- name: Install Poetry | |
uses: snok/install-poetry@v1.3.4 | |
- name: Install Package | |
run: poetry install | |
- name: Build and deploy docs | |
run: poetry run mkdocs gh-deploy --clean --strict --verbose --force |