Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Setup repository for open source #16

Setup repository for open source

Setup repository for open source #16

Workflow file for this run

name: Documentation
on:
# TODO: Versioned docs on tags otherwise latest.
push:
branches: ["main"]
workflow_dispatch:
jobs:
#####################################
# Build and publish the documentation
#####################################
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:

Check failure on line 20 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
python-version: '3.12'
- name: Install module and requirements
run: pip install -e .
- name: Build documentation HTML
run: pdoc ./src/pyventim -o ./docs
- name: Deploy documentation
uses: actions/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs