-
Notifications
You must be signed in to change notification settings - Fork 9
39 lines (30 loc) · 1018 Bytes
/
deploy.yml
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
name: Deploy website
on:
push:
branches: ["main"]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- name: Setup wasm-bindgen
uses: jetli/[email protected]
with:
version: "0.2.89"
- name: Deploy Benchmarks
run: |
./.github/scripts/deploy_benchmarks.sh website/content/benchmarks
- name: Deploy Examples
run: |
./.github/scripts/deploy_showcase.sh
- name: Deploy Site
uses: shalzz/[email protected]
env:
BUILD_DIR: website
PAGES_BRANCH: gh-pages
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}