File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 1
1
name : Deploy to GitHub Pages
2
2
3
3
on :
4
- push :
5
- branches :
6
- - main
4
+ workflow_dispatch :
7
5
8
6
jobs :
9
7
build :
@@ -25,17 +23,14 @@ jobs:
25
23
26
24
- name : Upload artifacts
27
25
uses : actions/upload-artifact@v4
28
- with :
29
- name : wasm-build
30
- path : pkg
31
26
32
27
deploy :
33
28
runs-on : ubuntu-latest
34
29
needs : build
35
30
36
31
steps :
37
- - name : Checkout repository
38
- uses : actions/checkout@v2
32
+ - name : Download a Build Artifact
33
+
39
34
40
35
- name : Install wasm-bindgen-cli
41
36
run : cargo install wasm-bindgen-cli
48
43
49
44
- name : Setup Pages
50
45
uses : actions/configure-pages@v4
51
-
52
- - name : Upload artifact
53
- uses : actions/upload-pages-artifact@v3
54
- with :
55
- path : ./out
56
46
57
47
- name : Deploy to GitHub Pages
58
48
id : deployment
You can’t perform that action at this time.
0 commit comments