Skip to content

Update main.yml

Update main.yml #17

Workflow file for this run

name: Deploy MkDocs to GitHub Pages
on:
push:
branches: [ main ] # Déclenche le workflow à chaque push sur la branche main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install MkDocs and dependencies
run: |
pip install mkdocs mkdocs-material
- name: Build and deploy
run: |
mkdocs gh-deploy --force