Skip to content

Documentation

Documentation #7

Workflow file for this run

name: Documentation
on:
workflow_dispatch:
permissions:
actions: write
contents: write
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 16
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
pip install --no-cache-dir -r services/python/requirements.txt
- name: Generate documentation
run: |
bash scripts/create_docs.sh
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
clean: false
branch: gh-pages
folder: docs