File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ jobs:
101
101
- name : Build static site
102
102
run : pixi run build
103
103
104
+
104
105
pixi_build_wasm :
105
106
name : Build jupyterlite site with pixi
106
107
runs-on : ubuntu-latest
@@ -112,3 +113,19 @@ jobs:
112
113
113
114
- name : Build jupyterlite site
114
115
run : pixi run build_wasm
116
+
117
+ myst_build :
118
+ name : Build and execute static site with myst
119
+ runs-on : ubuntu-latest
120
+ steps :
121
+ - uses : actions/checkout@v4
122
+ - name : Setup environment
123
+ run : pip install -r requirements.txt
124
+ - name : Build site with execution
125
+ run : |
126
+ myst build --execute 2>&1 |tee /tmp/mystbuild.log
127
+ if grep -q "Traceback .most recent call last." /tmp/mystbuild.log; then
128
+ exit 1;
129
+ else
130
+ exit 0;
131
+ fi
You can’t perform that action at this time.
0 commit comments