Skip to content

Commit 4cec112

Browse files
committed
Build+deploy notebook in release gh action
1 parent a536a0b commit 4cec112

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,13 @@ jobs:
187187
npm install
188188
npm run test
189189
working-directory: ./wasm/demo
190+
- name: build notebook demo
191+
if: github.ref == 'refs/heads/release'
192+
run: |
193+
npm install
194+
npm run dist
195+
mv dist ../demo/dist/notebook
196+
working-directory: ./wasm/notebook
190197
- name: Deploy demo to Github Pages
191198
if: success() && github.ref == 'refs/heads/release'
192199
uses: peaceiris/actions-gh-pages@v2

0 commit comments

Comments
 (0)