Skip to content

Merge pull request #731 from DHI/quartodoc #515

Merge pull request #731 from DHI/quartodoc

Merge pull request #731 from DHI/quartodoc #515

Workflow file for this run

name: Documentation
on:
push:
branches: [ main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Install mikeio
run: |
pip install .[dev]
- name: Generate API docs
run: cd docs;quartodoc build
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
path: docs/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}