Skip to content

Merge pull request #458 from nkeim/v0.7-release-notes #92

Merge pull request #458 from nkeim/v0.7-release-notes

Merge pull request #458 from nkeim/v0.7-release-notes #92

Workflow file for this run

name: Docs
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install Python dependencies
run: pip install ipython numpydoc pytest scikit-image sphinx sphinx-copybutton sphinx-rtd-theme
- name: Install pims
run: python -m pip install -v .
- name: Build
run: make -Cdoc html
- name: Publish
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html
force_orphan: true