Merge pull request #33 from oleks-dev/validation_updates #28
This file contains hidden or 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 MkDocs | |
| on: | |
| push: | |
| paths: | |
| - "docs/**" | |
| - "prich/cli/**" | |
| - "mkdocs.yaml" | |
| branches: | |
| - main # change if your default branch is not main | |
| permissions: | |
| contents: write # required for pushing to gh-pages | |
| jobs: | |
| build-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| pip install . | |
| prich init | |
| pip install mkdocs | |
| pip install mkdocs-material | |
| pip install mkdocs-click | |
| pip install mkdocstrings[python] | |
| # add any other plugins/extensions you use | |
| - name: Build and deploy | |
| run: | | |
| mkdocs gh-deploy --force |