Skip to content

Updated doc building and publishing workflows. #15

Updated doc building and publishing workflows.

Updated doc building and publishing workflows. #15

Workflow file for this run

name: Build documentation
on:
push:
# tags:
# - "*"
jobs:
test:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.14'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Build docs
run: |
touch src/scranpy/lib_scranpy.py
tox -e docs
- name: GH Pages Deployment
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: ./docs/_build/html
clean: true # Automatically remove deleted files from the deploy branch