Skip to content

Add deployment workflow #39

Add deployment workflow

Add deployment workflow #39

Workflow file for this run

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
- uses: Swatinem/rust-cache@v2
with:
workspaces: particular -> target
- name: Setup wasm-bindgen
uses: jetli/[email protected]
with:
version: "0.2.89"
- name: Deploy Benchmarks
run: |
bash scripts/deploy_benchmarks.sh content/benchmarks
- name: Deploy Examples
run: |
bash scripts/deploy_showcase.sh
- name: Deploy Site
uses: shalzz/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}