Skip to content

Fixed conf.py path

Fixed conf.py path #3

Workflow file for this run

name: docs
on:
push:
branches: [ public ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build
run: |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh |
bash -s -- --batch
conda env create -f env-dev.yml
conda run --name maize-dev pip install .
conda run --name maize-dev sphinx-build -b html -c docs docs docs/_build/html
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
publish_branch: gh-pages
force_orphan: true