1 parent 7ecf25f commit 303d0daCopy full SHA for 303d0da
1 file changed
.github/workflows/wasm.yml
@@ -6,7 +6,7 @@ on:
6
branches:
7
- main
8
9
-name: Deploy WASM
+name: WASM
10
11
jobs:
12
build:
@@ -27,3 +27,19 @@ jobs:
27
run: sudo apt install brotli
28
- name: Build WASM dist
29
run: make
30
+ - name: Upload artifact
31
+ id: deployment
32
+ uses: actions/upload-pages-artifact@v3
33
+ with:
34
+ path: www/
35
+
36
+ deploy:
37
+ environment:
38
+ name: github-pages
39
+ url: ${{ steps.deployment.outputs.page_url }}
40
+ runs-on: ubuntu-latest
41
+ needs: build
42
+ steps:
43
+ - name: Deploy to GitHub Pages
44
45
+ uses: actions/deploy-pages@v4
0 commit comments