-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (36 loc) · 1.14 KB
/
deploy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Deploy
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout Particular
uses: actions/checkout@v4
with:
repository: canleskis/particular
path: particular
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-unknown-unknown
- name: Setup wasm-bindgen
uses: jetli/[email protected]
with:
version: "0.2.89"
- uses: Swatinem/rust-cache@v2
with:
workspaces: particular -> target
- name: Deploy Benchmarks
run: |
bash scripts/deploy_benchmarks.sh
- name: Deploy Examples
run: |
bash scripts/deploy_showcase.sh
- name: Deploy Site
uses: shalzz/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}