Update #7
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 Documentation | |
| on: | |
| push: | |
| branches: | |
| - 'feature/wiki-gh-pages' | |
| tags: | |
| - '**' | |
| jobs: | |
| deploy-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Poetry and dependencies | |
| run: | | |
| curl -sSL https://install.python-poetry.org | python3 - | |
| echo "${HOME}/.local/bin" >> $GITHUB_PATH | |
| poetry install --with docs | |
| - name: Debug current directory and files | |
| run: | | |
| pwd | |
| ls -la | |
| - name: Deploy docs | |
| run: | | |
| poetry run mkdocs gh-deploy --config-file docs/mkdocs.yml --clean --force |