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 9295a91 commit 6226b82Copy full SHA for 6226b82
.github/workflows/ci.yml
@@ -100,3 +100,19 @@ jobs:
100
101
- name: Build static site
102
run: pixi run build
103
+
104
+ myst_build:
105
+ name: Build and execute static site with myst
106
+ runs-on: ubuntu-latest
107
+ steps:
108
+ - uses: actions/checkout@v4
109
+ - name: Setup environment
110
+ run: pip install -r requirements.txt
111
+ - name: Build site with execution
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