We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bd8d12 commit b96b06bCopy full SHA for b96b06b
.github/workflows/ci.yml
@@ -109,4 +109,10 @@ jobs:
109
- name: Setup environment
110
run: pip install -r requirements.txt
111
- name: Build site with execution
112
- run: myst build --execute 2>&1 |tee /dev/stderr | grep -e "Traceback \(most recent call last\)"
+ 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