Skip to content

Commit b96b06b

Browse files
committed
Try again.
1 parent 8bd8d12 commit b96b06b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,10 @@ jobs:
109109
- name: Setup environment
110110
run: pip install -r requirements.txt
111111
- name: Build site with execution
112-
run: myst build --execute 2>&1 |tee /dev/stderr | grep -e "Traceback \(most recent call last\)"
112+
run: |
113+
myst build --execute 2>&1 |tee /tmp/mystbuild.log
114+
if grep -q "Traceback \(most recent call last\)" /tmp/mystbuild.log; then
115+
exit 1
116+
else
117+
exit 0
118+
fi

0 commit comments

Comments
 (0)