Skip to content

catch divide by 0 by a in terminal updates #12

catch divide by 0 by a in terminal updates

catch divide by 0 by a in terminal updates #12

Workflow file for this run

name: "Sphinx Documentation for aPhyloGeo"
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
release:
types: [ created ]
permissions:
contents: write
jobs:
build-deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Sphinx and sphinx-rtd-theme
run: |
python -m pip install --upgrade pip && \
pip install -e . && \
pip install Sphinx sphinx-rtd-theme && \
pip install -r aphylogeo/requirements.txt
- name: Sphinx build
run: |
sphinx-build docs/source _build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/
force_orphan: true