Update strudent and instructor nav label in mkdocs.yml #5
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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| workflow_call: | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" # ← pin to avoid 3.14 | |
| cache: "pip" # ← auto-caches by requirements hash | |
| - run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev python3-dev | |
| # (Optional) if mkdocs-material is in requirements.txt, remove this step. | |
| - run: python -m pip install --upgrade pip setuptools wheel | |
| - run: python -m pip install mkdocs-material | |
| - run: python -m pip install -r requirements.txt | |
| - run: mkdocs gh-deploy --force |