Build+deploy notebook in release gh action

This commit is contained in:
Noah committed 2020-09-17 20:55:15 -05:00
1 parent a536a0b40c
commit 4cec112c4e
1 file changed
+7
+7
View File
@@ -187,6 +187,13 @@ jobs:
npm install
npm run test
working-directory: ./wasm/demo
- name: build notebook demo
if: github.ref == 'refs/heads/release'
run: |
npm install
npm run dist
mv dist ../demo/dist/notebook
working-directory: ./wasm/notebook
- name: Deploy demo to Github Pages
if: success() && github.ref == 'refs/heads/release'
uses: peaceiris/actions-gh-pages@v2