Skip to content

Commit 9d6d82d

Browse files
committed
ci: use wasm-pack
1 parent 5576ede commit 9d6d82d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
with:
1515
persist-credentials: false
1616

17-
- name: Install Rust Toolchain
18-
uses: actions-rs/toolchain@v1
17+
- uses: actions-rs/[email protected]
1918
with:
20-
toolchain: stable
19+
crate: wasm-pack
20+
version: latest
2121

2222
- name: Install and Build
23-
run: build.sh
23+
run: 'wasm-pack build --dev --target web --out-name wasm --out-dir ./static && rm ./static/.gitignore'
2424

2525
- name: Deploy
2626
uses: JamesIves/[email protected]

0 commit comments

Comments
 (0)