Skip to content

chore: simplified splitting (#91) #5

chore: simplified splitting (#91)

chore: simplified splitting (#91) #5

Workflow file for this run

---
name: Deploy Docs to GitHub Pages
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Poetry
run: pip install poetry
- name: Add pdoc to dependencies
run: poetry add --dev pdoc
- name: Add rerun to dependencies
run: poetry run pip install "wandelbots-nova[nova-rerun-bridge]"
- name: Install dependencies
run: poetry install
- name: Generate documentation
run: poetry run pdoc nova nova_rerun_bridge -o ./docs
- name: Setup GitHub Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4