mkdocs fix #17
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
| # One-time: GitHub repo → Settings → Pages → Build and deployment → Source: | |
| # "Deploy from a branch" → Branch: gh-pages, folder: / (root). Otherwise https://…github.io/…/ shows 404. | |
| name: Publish Docs | |
| on: | |
| push: | |
| branches: | |
| - feature/mkdocs | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - run: pip install -r requirements.txt | |
| - run: pip install -r requirements.mk.txt | |
| - run: pip install -e . | |
| - run: mkdocs gh-deploy --force |