Skip to content

Merge pull request #2 from kundajelab/dev #2

Merge pull request #2 from kundajelab/dev

Merge pull request #2 from kundajelab/dev #2

Workflow file for this run

name: Generate API Documentation
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install pdoc
pip install -e .
- name: Generate documentation
run: |
pdoc -d numpy --output-dir ./docs finemo
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs