Skip to content

updated doco to use environment.yml for installing conda dependencies #663

updated doco to use environment.yml for installing conda dependencies

updated doco to use environment.yml for installing conda dependencies #663

Workflow file for this run

name: Docs
on:
push:
branches: [ master, develop, 'dev/*' ]
pull_request:
branches: [ master, develop ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: |
make install-deps-apt
python -m pip install --upgrade pip wheel
python -m pip install attrdict
make install-deps-wxpython
- name: Build project
run: |
make install-docs-build-dependencies
- name: Build docs
run: |
make docs
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master' # TODO: Deploy seperate develop-version of docs?
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/_build/html