Skip to content

#10 docs overview (#19) #14

#10 docs overview (#19)

#10 docs overview (#19) #14

Workflow file for this run

name: "Build and deploy Github pages"
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: "Checkout 🛎️"
uses: actions/checkout@v3
with:
persist-credentials: false
- name: "Set up Python"
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: "Install Python dependencies"
run: |
pip3 install setuptools
pip3 install sphinx sphinx-rtd-theme sphinxemoji
- name: "Build Sphinx Doc 🔧"
run: |
make html
# a modifier pour correspondre au projet
- name: "Deploy Github Pages 🚀"
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: docs-publish-github-page
FOLDER: build/html/