Skip to content

Commit

Permalink
Updated main action workflow + added doc workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jchabloz committed Jan 3, 2024
1 parent b63df3d commit 4f46392
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/builddocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build docs

on:
push:

jobs:
build:
runs-on: ubuntu-latest
name: Setup environment
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ./python
pip install sphinx sphinx-rtd-theme myst-parser
- name: Build documentation
run: |
sphinx-build -M html ./docs ./docs/_build
2 changes: 1 addition & 1 deletion .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Builds and test CI
name: Builds and test

on:
push:
Expand Down

0 comments on commit 4f46392

Please sign in to comment.