Skip to content

crates: generators: python: Add future/annotations #44

crates: generators: python: Add future/annotations

crates: generators: python: Add future/annotations #44

Workflow file for this run

name: Deploy to GitHub Pages
permissions:
contents: write
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rust-src
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Build
run: wasm-pack build crates/wasm --target web --out-dir ../../pkg --out-name blueberry_wasm
- name: Sync parser fixtures into pkg
run: ./pkg/sync_playground_fixtures.sh
- name: Organize files
run: |
rm pkg/.gitignore
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
if: success() && github.event_name != 'pull_request'
with:
branch: gh-pages
folder: pkg