File tree Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,10 @@ jobs:
2424 - name : Checkout Repository
2525 uses : actions/checkout@v2
2626
27- - name : Setup Rust
28- uses : actions/setup-rust@v1
27+ - name : Setup wasm-pack
28+ 2929 with :
30- rust-version : stable
31-
32- - name : Install wasm-pack
33- run : cargo install wasm-pack
30+ version : ' latest'
3431
3532 - name : Build Wasm
3633 run : wasm-pack build --target web --out-dir ./app/pkg
@@ -40,14 +37,14 @@ jobs:
4037 with :
4138 path : app
4239
43- deploy :
44- environment :
45- name : github-pages
46- url : ${{ steps.deployment.outputs.page_url }}
47- needs : build
48- runs-on : ubuntu-latest
49- name : Deploy
50- steps :
51- - name : Deploy to GitHub Pages
52- id : deployment
53- uses : actions/deploy-pages@v4
40+ deploy :
41+ environment :
42+ name : github-pages
43+ url : ${{ steps.deployment.outputs.page_url }}
44+ needs : build
45+ runs-on : ubuntu-latest
46+ name : Deploy
47+ steps :
48+ - name : Deploy to GitHub Pages
49+ id : deployment
50+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments