docs: added list #67
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: Docs - latest | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - '.github/workflows/docs-latest.yml' | |
| - 'mkdocs.yml' | |
| - 'docs/**' | |
| workflow_dispatch: | |
| concurrency: | |
| group: docs-deployment | |
| cancel-in-progress: false | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install mkdocs-material mike mkdocs-redirects mkdocs-macros-plugin pyyaml | |
| - name: Configure git for commits | |
| run: | | |
| git config --global user.name "GitHub Actions" | |
| git config --global user.email "actions@github.com" | |
| - name: Deploy Documentation | |
| run: | | |
| git fetch origin gh-pages --depth=1 || true | |
| mike deploy --push latest | |
| mike set-default --push latest |