Skip to content

correct documentation.yml #29

correct documentation.yml

correct documentation.yml #29

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main # Déclencher sur la branche principale
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install --upgrade pip setuptools wheel
pip install sphinx sphinx-rtd-theme
- name: Build documentation
run: |
cd docs
make html # Ou la commande spécifique pour générer votre documentation
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html