Skip to content

Merge branch 'main' of github.com:ai-atoms/milady-docs #102

Merge branch 'main' of github.com:ai-atoms/milady-docs

Merge branch 'main' of github.com:ai-atoms/milady-docs #102

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
#pull_request:
# branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
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 -r src/requirements.txt
- name: "Build Sphinx Doc"
run: |
cd src
make html
- name: "Deploy Github Pages"
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # <- Branche sur laquelle seront commités les fichiers
FOLDER: src/build/html/ # <- Dossier contenant notre documentation générée