Skip to content

Commit 5d754d7

Browse files
committed
feat: deployments
1 parent 4c5752a commit 5d754d7

3 files changed

Lines changed: 39 additions & 165 deletions

File tree

.github/workflows/pages.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy Pages
2+
on:
3+
workflow_run:
4+
branches: [main]
5+
workflows: [Continuous integration]
6+
types: [completed]
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions-rs/toolchain@v1
13+
with:
14+
toolchain: stable
15+
target: wasm32-unknown-unknown
16+
17+
- uses: jetli/trunk-action@v0.1.0
18+
- uses: jetli/wasm-bindgen-action@v0.1.0
19+
20+
- uses: actions/checkout@v2
21+
22+
- run: trunk build --release
23+
24+
- uses: peaceiris/actions-gh-pages@v3
25+
if: github.ref == 'refs/heads/main'
26+
with:
27+
github_token: $
28+
publish_dir: ./dist

Cargo.lock

Lines changed: 11 additions & 153 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,7 @@ edition = "2024"
66
[dependencies]
77
console_error_panic_hook = "0.1.7"
88
diffeq = "0.1.0"
9-
nalgebra = "0.33.2"
109
wasm-bindgen = "0.2.100"
1110

12-
[dependencies.web-sys]
13-
version = "0.3.4"
14-
features = [
15-
'Document',
16-
'Element',
17-
'HtmlElement',
18-
'Node',
19-
'Window',
20-
]
21-
22-
2311
[lib]
2412
crate-type = ["cdylib", "rlib"]

0 commit comments

Comments
 (0)