Skip to content

Fix: Return NaN instead of 0.0 on errors in bilateral symmetry analysis #15

Fix: Return NaN instead of 0.0 on errors in bilateral symmetry analysis

Fix: Return NaN instead of 0.0 on errors in bilateral symmetry analysis #15

Workflow file for this run

name: Deploy MkDocs to GitHub Pages
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
# 1. Checkout repo (code + docs)
- name: Checkout repository
uses: actions/checkout@v4
# 2. Set up Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
# 3. Install docs dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev] # installs mkdocs and all extras
# 4. Build doc
- name: Build MkDocs site
env:
PYTHONPATH: ${{ github.workspace }}/PyEyesWeb
run: mkdocs build --verbose
# 5. Push to gh-pages
- name: Deploy to GitHub Pages 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_PAGES_TOKEN }}
publish_dir: ./site
publish_branch: gh-pages
force_orphan: true