Skip to content

[maintenance] Enhancements to Code Formatting, and Testing Workflowadd workflow #2

[maintenance] Enhancements to Code Formatting, and Testing Workflowadd workflow

[maintenance] Enhancements to Code Formatting, and Testing Workflowadd workflow #2

Workflow file for this run

name: "API Reference"
on:
pull_request:
types: [opened, synchronize, edited]
jobs:
docs:
if: true == contains(github.event.pull_request.title, 'DOC')
runs-on: ubuntu-latest
timeout-minutes: 20
env:
OS: ${{ matrix.os }}
PYTHON: '3.9'
steps:
- uses: actions/checkout@master
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: Generate Documentation
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
- name: Upload Documentation
uses: actions/upload-artifact@v3
with:
name: APIReference
path: doc/build/html/