Skip to content

removing sphinx action and testing a new approach #2782

removing sphinx action and testing a new approach

removing sphinx action and testing a new approach #2782

Workflow file for this run

# Github Actions workflow to generate documentation
# Uses the following shared task definitions:
# - (checkout, upload artifact) from Github
# - sphinx-action maintained by @ammaraskar
name: Sphinx build
# Controls when the action will run.
# Triggers the workflow on push or pull request events.
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install Sphinx and dependencies
run: pip install sphinx sphinx_markdown_builder
- name: Build Documentation
run: cd docs && make doc
- uses: actions/upload-artifact@v3
with:
name: Documentation
path: "docs/_build/html/"