Skip to content

Refactor synthesizers to better preserve seed info. #25

Refactor synthesizers to better preserve seed info.

Refactor synthesizers to better preserve seed info. #25

name: Build docs
on:
push:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: "pip"
cache-dependency-path: "**/pyproject.toml"
- run: pip install -e .
- run: pip install -r pdoc/requirements.txt
- run: pdoc riid -o docs/ --html --template-dir pdoc
- run: echo '<meta http-equiv="refresh" content="0; url=./riid/index.html" />' > docs/index.html
- uses: actions/upload-pages-artifact@v2
with:
path: docs/
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2