Skip to content

Commit

Permalink
WIP: testin sphinx build + artifacts x14
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Aug 16, 2024
1 parent e6d2a9e commit cbd7866
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Sphinx build
run: |
sphinx-build doc _build
conda run --name diff_check --no-capture-output invoke documentize
working-directory: ${{github.workspace}}


Expand Down
3 changes: 2 additions & 1 deletion tasks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# tasks.py
from invoke import task
import subprocess

PATH_MANIFEST = "./manifest.yml"
PATH_LOGO = "./logo.png"
Expand Down Expand Up @@ -62,4 +63,4 @@ def yakerize(c):

@task
def documentize(c):
c.run("conda run --name diff_check --no-capture-output sphinx-build doc _build")
subprocess.run("conda activate diff_check && sphinx-build doc _build", shell=True, check=True)

0 comments on commit cbd7866

Please sign in to comment.