Skip to content

Commit cbd7866

Browse files
committed
WIP: testin sphinx build + artifacts x14
1 parent e6d2a9e commit cbd7866

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
107107
- name: Sphinx build
108108
run: |
109-
sphinx-build doc _build
109+
conda run --name diff_check --no-capture-output invoke documentize
110110
working-directory: ${{github.workspace}}
111111

112112

tasks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# tasks.py
22
from invoke import task
3+
import subprocess
34

45
PATH_MANIFEST = "./manifest.yml"
56
PATH_LOGO = "./logo.png"
@@ -62,4 +63,4 @@ def yakerize(c):
6263

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

0 commit comments

Comments
 (0)