feat: type-safe rules (#9) #27
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: Deploy-docs | |
on: | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Log level' | |
required: true | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- .gitignore | |
- .github/** | |
- .pre-commit-config.yaml | |
- README.md | |
- pdm.lock | |
jobs: | |
update_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs | |
- run: pip install mkdocs-material | |
- run: pip install "mkdocstrings[python]" | |
- run: pip install termynal | |
- run: mkdocs gh-deploy --remote-branch docs-page --force --clean --verbose |