Rework docs theme: full Cyber-Violet continuity with the app #10
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 docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "docs/**" | |
| - "mkdocs.yml" | |
| - ".github/workflows/docs.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write # needed to push to gh-pages branch | |
| jobs: | |
| deploy: | |
| name: Build & deploy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # git-revision-date plugin needs full history | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.14" | |
| - name: Install MkDocs + Material | |
| run: | | |
| pip install \ | |
| mkdocs-material \ | |
| mkdocs-minify-plugin | |
| - name: Copy logo into docs/assets | |
| run: cp static/logo.png docs/assets/logo.png | |
| - name: Deploy to GitHub Pages | |
| run: mkdocs gh-deploy --force --clean |