Update cours13.md #4390
This file contains 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: Déploiement de la documentation markdown en HTML | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Deploy mkdocs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install pip and friends | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Check mkdocs-material version | |
run: | | |
pip show mkdocs-material | |
- name: Build mkdocs | |
run: | | |
mkdocs build --verbose | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./site | |
timeout-minutes: 10 |